Skip to content

Commit b261fd9

Browse files
author
Hugh Delaney
committed
Add required
1 parent 989c0e8 commit b261fd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/loader/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ if (UNIX)
5151
# Older gcc versions need -pthread, not just -lpthread
5252
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
5353
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 11.1)
54-
find_library(PTHREAD_LIBRARY pthread)
54+
find_library(PTHREAD_LIBRARY REQUIRED pthread)
5555
target_link_libraries(ur_loader PRIVATE "-pthread")
5656
endif()
5757
endif()

0 commit comments

Comments
 (0)