We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b70d60f commit 23fbfe9Copy full SHA for 23fbfe9
examples/CMakeLists.txt
@@ -61,7 +61,11 @@ add_library(${TARGET} STATIC
61
62
include(DefaultTargetOptions)
63
64
-target_link_libraries(${TARGET} PRIVATE whisper ${COMMON_EXTRA_LIBS} dl)
+if(UNIX AND NOT APPLE)
65
+ target_link_libraries(${TARGET} PRIVATE whisper ${COMMON_EXTRA_LIBS} dl)
66
+else()
67
+ target_link_libraries(${TARGET} PRIVATE whisper ${COMMON_EXTRA_LIBS})
68
+endif()
69
70
set_target_properties(${TARGET} PROPERTIES POSITION_INDEPENDENT_CODE ON)
71
set_target_properties(${TARGET} PROPERTIES FOLDER "libs")
0 commit comments