We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 833e6a5 commit d5a575cCopy full SHA for d5a575c
tools/CMakeLists.txt
@@ -1,2 +1,6 @@
1
add_subdirectory(bndl_util)
2
-add_subdirectory(bndl_edit)
+
3
+option(LIBBNDL_BUILD_UI "Build UI tools" OFF)
4
+if(LIBBNDL_BUILD_UI)
5
+ add_subdirectory(bndl_edit)
6
+endif()
tools/bndl_edit/CMakeLists.txt
@@ -2,8 +2,7 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Find Qt Library
-find_package(Qt5Widgets REQUIRED)
-find_package(Qt5Multimedia REQUIRED)
+find_package(Qt5 COMPONENTS Widgets Multimedia REQUIRED)
7
8
add_executable(bndl_edit WIN32 main.cpp editor.cpp editor.hpp)
9
0 commit comments