diff --git a/SimDynamics/CMakeLists.txt b/SimDynamics/CMakeLists.txt index 764070e6f1bee3115f608eaec2036270d47d9302..35bd6158bceef11cf13f25d32e8b55361ca3a7a3 100644 --- a/SimDynamics/CMakeLists.txt +++ b/SimDynamics/CMakeLists.txt @@ -179,6 +179,7 @@ if (SimDynamics_DYNAMICSENGINE) MESSAGE (STATUS " ** Bullet's OpenGLSupport library not found: Skipping BulletOpenGLViewer") endif() + find_package(SoQt QUIET) if (Simox_USE_COIN_VISUALIZATION AND SoQt_FOUND) SET(SOURCES ${SOURCES} diff --git a/VirtualRobot/CMakeLists.txt b/VirtualRobot/CMakeLists.txt index 0ca350a73fc23d420cc9bc8bcae8beeb7e08437f..d45b5113e687b9d8a53a28be92e6065caac750fb 100644 --- a/VirtualRobot/CMakeLists.txt +++ b/VirtualRobot/CMakeLists.txt @@ -65,10 +65,10 @@ if (Simox_USE_COIN_VISUALIZATION) #### SoQt # This will set SoQt_INCLUDE_DIRS and SoQt_LIBRARIES FIND_PACKAGE(SoQt QUIET) - if (SoQt_INCLUDE_DIRS AND NOT SoQt_FOUND) #fix missing variable if include dirs was found - set(SoQt_FOUND TRUE) - set(SoQt_FOUND TRUE PARENT_SCOPE) - endif () + #if (SoQt_INCLUDE_DIRS AND NOT SoQt_FOUND) #fix missing variable if include dirs was found + # set(SoQt_FOUND TRUE) + # set(SoQt_FOUND TRUE PARENT_SCOPE) + #endif () if (NOT SoQt_FOUND) MESSAGE (STATUS "Did not find SoQt. Disabling SoQt support.")