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 f7621cf commit fb72962Copy full SHA for fb72962
amd/comgr/CMakeLists.txt
@@ -405,11 +405,18 @@ if (NOT UNIX)
405
PRIVATE version)
406
endif()
407
408
+find_package(Threads)
409
+target_link_libraries(amd_comgr PRIVATE ${CMAKE_THREAD_LIBS_INIT})
410
+
411
+find_library(LIBRT rt)
412
+if(LIBRT)
413
+ target_link_libraries(amd_comgr PRIVATE ${LIBRT})
414
+endif()
415
416
417
if (NOT WIN32)
418
target_link_libraries(amd_comgr
419
PRIVATE
- pthread
- rt
420
c
421
${CMAKE_DL_LIBS})
422
0 commit comments