Skip to content

Commit

Permalink
Link with pthread on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Jul 31, 2020
1 parent bb8547b commit 16150bf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Expand Up @@ -64,7 +64,12 @@ PUBLIC
${src_loc}
)

if (build_macstore)
if (LINUX)
target_link_libraries(lib_crl
PUBLIC
pthread
)
elseif (build_macstore)
target_compile_definitions(lib_crl
PUBLIC
CRL_USE_COMMON_QUEUE
Expand Down

0 comments on commit 16150bf

Please sign in to comment.