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 989c0e8 commit b261fd9Copy full SHA for b261fd9
source/loader/CMakeLists.txt
@@ -51,7 +51,7 @@ if (UNIX)
51
# Older gcc versions need -pthread, not just -lpthread
52
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
53
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 11.1)
54
- find_library(PTHREAD_LIBRARY pthread)
+ find_library(PTHREAD_LIBRARY REQUIRED pthread)
55
target_link_libraries(ur_loader PRIVATE "-pthread")
56
endif()
57
0 commit comments