We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7121910 + ee798cb commit 042134cCopy full SHA for 042134c
CMakeLists.txt
@@ -41,7 +41,7 @@ if(NOT VOLK_HEADERS_ONLY OR VOLK_INSTALL)
41
target_compile_definitions(volk PUBLIC ${VOLK_STATIC_DEFINES})
42
endif()
43
if (NOT WIN32)
44
- target_link_libraries(volk PUBLIC dl)
+ target_link_libraries(volk PUBLIC ${CMAKE_DL_LIBS})
45
46
47
@@ -55,7 +55,7 @@ target_include_directories(volk_headers INTERFACE
55
$<INSTALL_INTERFACE:include>
56
)
57
58
- target_link_libraries(volk_headers INTERFACE dl)
+ target_link_libraries(volk_headers INTERFACE ${CMAKE_DL_LIBS})
59
60
61
# -----------------------------------------------------
0 commit comments