Skip to content

Commit

Permalink
Merge pull request #46 from silicon-heaven/error-if-no-libshv-qt
Browse files Browse the repository at this point in the history
cmake: Detect if libshvvisu exists
  • Loading branch information
fvacek authored Mar 8, 2024
2 parents 1eecbb6 + e990bfc commit 0b86595
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ else()
add_subdirectory(3rdparty/libshv)
endif()

if(NOT TARGET libshv::libshvvisu)
message(FATAL_ERROR "libshvvisu not found. Including libshv might've failed due to missing Qt dependencies. Please check above for errors.")
endif()

if(USE_QT6)
if(EMSCRIPTEN)
find_package(Qt6 COMPONENTS Core Widgets Gui Network WebSockets)
Expand Down

0 comments on commit 0b86595

Please sign in to comment.