Skip to content
Snippets Groups Projects
Commit 9e4f7704 authored by Andrew Wilson's avatar Andrew Wilson :elephant:
Browse files

BUG: Fix for build without haptics

parent 08a4757d
No related branches found
No related tags found
No related merge requests found
......@@ -15,8 +15,8 @@
# limitations under the License.
#
###########################################################################
if(iMSTK_USE_OpenHaptics)
if(iMSTK_USE_OpenHaptics)
project(Example-CameraController)
#-----------------------------------------------------------------------------
......
......@@ -16,19 +16,21 @@
#
###########################################################################
project(Example-LevelSet-RigidInteraction)
if(iMSTK_USE_OpenHaptics)
project(Example-LevelSet-RigidInteraction)
#-----------------------------------------------------------------------------
# Create executable
#-----------------------------------------------------------------------------
imstk_add_executable(${PROJECT_NAME} LevelSet-RigidInteractionExample.cpp)
#-----------------------------------------------------------------------------
# Create executable
#-----------------------------------------------------------------------------
imstk_add_executable(${PROJECT_NAME} LevelSet-RigidInteractionExample.cpp)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples/Haptics)
#-----------------------------------------------------------------------------
# Add the target to Examples folder
#-----------------------------------------------------------------------------
SET_TARGET_PROPERTIES (${PROJECT_NAME} PROPERTIES FOLDER Examples/Haptics)
#-----------------------------------------------------------------------------
# Link libraries to executable
#-----------------------------------------------------------------------------
target_link_libraries(${PROJECT_NAME} SimulationManager Filtering)
#-----------------------------------------------------------------------------
# Link libraries to executable
#-----------------------------------------------------------------------------
target_link_libraries(${PROJECT_NAME} SimulationManager Filtering)
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment