Skip to content

Commit

Permalink
attempt to fix Jessie, also boost_system is needed
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo committed Nov 3, 2020
1 parent a5ffbc7 commit 2ecb8dc
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -26,7 +26,7 @@ ELSE()
ENDIF(IS_MINGW32)
MESSAGE(STATUS "Boost root for omc - zeromq:")
MESSAGE(STATUS ${BOOST_ROOT})
FIND_PACKAGE(Boost 1.60.0 COMPONENTS program_options system )
FIND_PACKAGE(Boost 1.60.0 COMPONENTS program_options system)
if(Boost_FOUND)
IF(NOT(COMPILER_SUPPORTS_CXX11))
FIND_PACKAGE(Threads)
Expand All @@ -40,9 +40,9 @@ ELSE(NOT(COMPILER_SUPPORTS_CXX11))
MESSAGE(STATUS "Boost thread disabled for omc zeromq because of available C++11 support")
ENDIF(NOT(COMPILER_SUPPORTS_CXX11))
else()
MESSAGE(STATUS "Boost version is older than 1.60 therefore boost threads is needed for boost property tree")
#older boost versions needs for boost property tree library boost threads
FIND_PACKAGE(Boost REQUIRED COMPONENTS program_options thread)
MESSAGE(STATUS "Boost version is older than 1.60 therefore boost threads and system is needed for boost property tree")
#older boost versions needs for boost property tree library boost threads and system
FIND_PACKAGE(Boost REQUIRED COMPONENTS program_options thread system)
endif()

MESSAGE(STATUS "using boost include for omc - zeromq: ${Boost_INCLUDE_DIR}")
Expand Down

0 comments on commit 2ecb8dc

Please sign in to comment.