Skip to content

Commit

Permalink
CommonSetup.cmake: add find_package(Threads REQUIRED)
Browse files Browse the repository at this point in the history
Without this, I got a cmake configuration error (cmake 3.6.2)
  • Loading branch information
bkueng committed Feb 21, 2017
1 parent aa91979 commit 64661c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/cmake-modules/CommonSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ macro(CommonSetup)
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /NXCOMPAT /DYNAMICBASE /INCREMENTAL:NO ")
ENDIF()

find_package(Threads REQUIRED)

## common boost settings to make sure we are all on the same page
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_MULTITHREADED ON)
Expand Down

0 comments on commit 64661c3

Please sign in to comment.