From 84cd8a6ac13beab8708d312ecffd69f53349694b Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Fri, 10 Nov 2023 03:57:43 -0500 Subject: [PATCH] Fix building ZVulkan on *BSD Remove the hardcoded libdl. *BSD's don't have/use libdl. CMAKE_DL_LIBS is set to libdl as well on the appropraite other OS's. --- libraries/ZVulkan/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/ZVulkan/CMakeLists.txt b/libraries/ZVulkan/CMakeLists.txt index 3b47b7b6863..497ddd44e2b 100644 --- a/libraries/ZVulkan/CMakeLists.txt +++ b/libraries/ZVulkan/CMakeLists.txt @@ -188,7 +188,7 @@ if(WIN32) add_definitions(-DUNICODE -D_UNICODE) else() set(ZVULKAN_SOURCES ${ZVULKAN_SOURCES} ${ZVULKAN_UNIX_SOURCES}) - set(ZVULKAN_LIBS ${CMAKE_DL_LIBS} -ldl) + set(ZVULKAN_LIBS ${CMAKE_DL_LIBS}) add_definitions(-DUNIX -D_UNIX) add_link_options(-pthread) endif()