diff --git a/CMakeLists.txt b/CMakeLists.txt index 426c8432..5ed22ef9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -171,35 +171,6 @@ message(STATUS "##### 3rdParty CTPL") add_subdirectory(CTPL EXCLUDE_FROM_ALL) add_library(oms::3rd::ctpl::header ALIAS ctpl_header_only) -######################################################################### -## Dear ImGui. -if (OMS_ENABLE_OMSimulatorGui) - message(STATUS "##### 3rdParty Dear ImGui") - add_subdirectory(imgui EXCLUDE_FROM_ALL) - add_library(oms::3rd::imgui ALIAS imgui) -endif () - -######################################################################### -## GLFW. -if (OMS_ENABLE_OMSimulatorGui) - message(STATUS "##### 3rdParty GLFW") - set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE) - set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE) - set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) - set(GLFW_BUILD_WAYLAND OFF CACHE BOOL "" FORCE) - - add_subdirectory(glfw EXCLUDE_FROM_ALL) - add_library(oms::3rd::GLFW ALIAS glfw) -endif () - -######################################################################### -## tinyfiledialogs. -if (OMS_ENABLE_OMSimulatorGui) - message(STATUS "##### 3rdParty tinyfiledialogs") - add_subdirectory(tinyfd EXCLUDE_FROM_ALL) - add_library(oms::3rd::tinyfd ALIAS tinyfd) -endif () - ######################################################################### ## nlohmann/json message(STATUS "##### 3rdParty nlohmann/json") diff --git a/cmake/standalone.cmake b/cmake/standalone.cmake index 9a331fb3..95ffd3e9 100644 --- a/cmake/standalone.cmake +++ b/cmake/standalone.cmake @@ -18,7 +18,6 @@ # OPENMODELICA_NEW_CMAKE_BUILD is deliberately left undefined: standalone we are # not part of the OpenModelica superproject, so 3rdParty configures its own # SUNDIALS, exactly like a standalone OMSimulator build does. -option(OMS_ENABLE_OMSimulatorGui "Enable OMSimulator GUI component" OFF) set(CMAKE_CXX_STANDARD 17) set(CXX_STANDARD_REQUIRED ON)