Skip to content

Commit

Permalink
Explicitly set -pthread flag if available
Browse files Browse the repository at this point in the history
  • Loading branch information
K-ballo committed Sep 5, 2017
1 parent 519b074 commit 603b93c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -1196,6 +1196,7 @@ if(NOT WIN32)
# System libraries
##############################################################################
if(NOT MSVC)
hpx_add_compile_flag_if_available(-pthread)
hpx_libraries(atomic)
endif()

Expand Down

0 comments on commit 603b93c

Please sign in to comment.