Skip to content

Commit

Permalink
Disable UI tool by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo98 committed Mar 24, 2024
1 parent 833e6a5 commit d5a575c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion tools/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
add_subdirectory(bndl_util)
add_subdirectory(bndl_edit)

option(LIBBNDL_BUILD_UI "Build UI tools" OFF)
if(LIBBNDL_BUILD_UI)
add_subdirectory(bndl_edit)
endif()
3 changes: 1 addition & 2 deletions tools/bndl_edit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

add_executable(bndl_edit WIN32 main.cpp editor.cpp editor.hpp)

Expand Down

0 comments on commit d5a575c

Please sign in to comment.