Skip to content

Commit

Permalink
fix RelWithDebInfo build
Browse files Browse the repository at this point in the history
  • Loading branch information
supermerill committed Oct 22, 2019
1 parent 39b6df8 commit 8aaaeaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ if(NOT WIN32)
set(MINIMUM_BOOST_VERSION "1.64.0")
endif()
find_package(Boost ${MINIMUM_BOOST_VERSION} REQUIRED COMPONENTS system filesystem thread log locale regex)
# boost compile only in release & debug. We have to force the release version for RELWITHDEBINFO compilation
set_target_properties(${Boost_LIBRARIES} PROPERTIES MAP_IMPORTED_CONFIG_RELWITHDEBINFO RELEASE)

add_library(boost_libs INTERFACE)
add_library(boost_headeronly INTERFACE)
Expand Down

0 comments on commit 8aaaeaf

Please sign in to comment.