Skip to content
Snippets Groups Projects
Commit dccc0e0a authored by Jean-Christophe Fillion-Robin's avatar Jean-Christophe Fillion-Robin
Browse files

COMP: Update iMSTKConfig to find glfw and gli if Vulkan support is enabled

parent a4ccb14c
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ list(INSERT CMAKE_MODULE_PATH 0 "${iMSTK_SOURCE_DIR}/CMake")
# iMSTK settings
set(iMSTK_USE_OMNI @iMSTK_USE_OMNI@)
set(iMSTK_USE_Vulkan @iMSTK_USE_Vulkan@)
set(VegaFEM_DIR @VegaFEM_DIR@)
set(VTK_DIR @VTK_DIR@)
......@@ -23,6 +24,14 @@ include_directories( ${g3log_INCLUDE_DIR} )
# glm
find_package( glm REQUIRED )
if(iMSTK_USE_Vulkan)
# glfw
find_package( glfw REQUIRED )
# gli
find_package( gli REQUIRED )
endif()
# Eigen
find_package( Eigen 3.1.2 REQUIRED )
include_directories( ${Eigen_INCLUDE_DIR} )
......
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