Skip to content

Commit

Permalink
- changed the boost_thread library to optional
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@19605 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Marcus Walther committed Mar 17, 2014
1 parent 9f0c090 commit 54716f4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions SimulationRuntime/cpp/CMakeLists.txt
Expand Up @@ -91,8 +91,10 @@ SET(SIMSTER_BUILD OFF)
SET(Boost_USE_STATIC_LIBS OFF)
SET(Boost_USE_MULTITHREADED ON)
SET(Boost_USE_STATIC_RUNTIME OFF)
find_package(Boost COMPONENTS filesystem system serialization program_options thread REQUIRED)
find_package(Threads REQUIRED)

find_package(Boost COMPONENTS thread)
find_package(Threads)
find_package(Boost COMPONENTS filesystem system serialization program_options REQUIRED)

# Lapack and Blas
find_package( BLAS )
Expand Down

0 comments on commit 54716f4

Please sign in to comment.