Skip to content

Commit

Permalink
FIx boost version cxx flags
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandeberg committed May 3, 2019
1 parent 8f56435 commit 8cd31cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ ENDIF(WIN32)

FIND_PACKAGE(Boost 1.58 REQUIRED COMPONENTS ${BOOST_COMPONENTS})

if ( BOOST_VERSION GREATER_EQUAL 16900 )
if( Boost_VERSION GREATER_EQUAL 106900 )
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden")
endif()
Expand Down

0 comments on commit 8cd31cd

Please sign in to comment.