link to the library containing dlopen/dlclose

This commit is contained in:
SpaceIm 2021-03-01 18:28:56 +01:00 committed by Charles Giessen
parent ae3eaaf754
commit 5109ef1d02

View File

@ -33,7 +33,8 @@ target_include_directories(vk-bootstrap PUBLIC src)
target_include_directories(vk-bootstrap PUBLIC ${Vulkan_INCLUDE_DIR})
target_link_libraries(vk-bootstrap
PRIVATE
vk-bootstrap-compiler-warnings)
vk-bootstrap-compiler-warnings
${CMAKE_DL_LIBS})
target_compile_features(vk-bootstrap PUBLIC cxx_std_14)
option(VK_BOOTSTRAP_TEST "Test Vk-Bootstrap with glfw and Catch2" OFF)