Skip to content

Commit

Permalink
revert unfortunately check in cmake file
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@21876 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
niklwors committed Aug 14, 2014
1 parent f697953 commit e71ac19
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions SimulationRuntime/cpp/CMakeLists.txt
Expand Up @@ -134,12 +134,12 @@ ENDIF(Boost_LOG_FOUND AND Boost_LOG_SETUP_FOUND)
find_package(Boost 1.54 COMPONENTS thread atomic)
SET(Boost_LIBRARIES_TMP ${Boost_LIBRARIES_TMP} ${Boost_LIBRARIES})
find_package(Threads)
#IF(Boost_THREAD_FOUND AND Boost_ATOMIC_FOUND)
# add_definitions(-DUSE_BOOST_THREAD)
# message(STATUS "Using boost thread")
#ELSE(Boost_THREAD_FOUND AND Boost_ATOMIC_FOUND)
# message(STATUS "Boost thread disabled")
#ENDIF(Boost_THREAD_FOUND AND Boost_ATOMIC_FOUND)
IF(Boost_THREAD_FOUND AND Boost_ATOMIC_FOUND)
add_definitions(-DUSE_BOOST_THREAD)
message(STATUS "Using boost thread")
ELSE(Boost_THREAD_FOUND AND Boost_ATOMIC_FOUND)
message(STATUS "Boost thread disabled")
ENDIF(Boost_THREAD_FOUND AND Boost_ATOMIC_FOUND)

find_package(Boost COMPONENTS filesystem system serialization program_options REQUIRED)
SET(Boost_LIBRARIES_TMP ${Boost_LIBRARIES_TMP} ${Boost_LIBRARIES})
Expand Down

0 comments on commit e71ac19

Please sign in to comment.