Skip to content

Commit

Permalink
Merge pull request #972 from tgaugry/deactivate-modeler
Browse files Browse the repository at this point in the history
Deactivate Modeler by default, since it is deprecated
  • Loading branch information
guparan authored Apr 4, 2019
2 parents cf2f243 + 6751486 commit c8f1bdd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions applications/projects/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ if(NOT Qt5Core_FOUND)
set(SOFA_HAVE_QT_LIBRARIES 0)
endif()

if(SOFA_HAVE_QT_LIBRARIES)
sofa_add_application(Modeler Modeler ON)
endif()
sofa_add_application(Modeler Modeler OFF)

sofa_add_application(getDeprecatedComponents getDeprecatedComponents OFF)

Expand Down
2 changes: 1 addition & 1 deletion applications/projects/Modeler/exec/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ else()
set(RC_FILES "sofa.rc")
endif()

find_package(Qt5 COMPONENTS Core QUIET)
find_package(Qt5 COMPONENTS Core REQUIRED)

if(Qt5Core_FOUND)
message("Modeler executable: Using Qt5")
Expand Down
2 changes: 1 addition & 1 deletion applications/projects/Modeler/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ set(SOURCE_FILES

set(UI_FILES ../../../sofa/gui/qt/PluginManager.ui)

find_package(Qt5 COMPONENTS Core QUIET)
find_package(Qt5 COMPONENTS Core REQUIRED)

if(Qt5Core_FOUND)
message("Modeler library: Using Qt5")
Expand Down

0 comments on commit c8f1bdd

Please sign in to comment.