We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22da087 commit 2675092Copy full SHA for 2675092
CMakeLists.txt
@@ -360,11 +360,8 @@ target_link_libraries(libneko ${GC_LIBRARIES})
360
target_link_libraries(nekovm libneko)
361
362
if(UNIX)
363
- if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
364
- set(DL_LIB "dl")
365
- endif()
366
find_package(Threads)
367
- target_link_libraries(libneko ${DL_LIB} m ${CMAKE_THREAD_LIBS_INIT})
+ target_link_libraries(libneko ${CMAKE_DL_LIBS} m ${CMAKE_THREAD_LIBS_INIT})
368
endif()
369
370
set_target_properties(nekovm libneko
0 commit comments