1
0
Fork 0

fix: boost

This commit is contained in:
Jan Christoph Uhde 2016-01-15 17:32:48 +01:00
parent d89e083bd3
commit 5b2698058b
1 changed files with 11 additions and 1 deletions

View File

@ -1,2 +1,12 @@
# header only atm
if(AR_USE_SYSTEM_LIBS)
find_package(Boost REQUIED)
else()
#mimic findpackage
set(Boost_INCLUDE_DIRS "1.58.0")
set(Boost_VERSION "1.58.0")
set(Boost_FOUND True)
endif()
add_library(ar_boost INTERFACE)
target_include_directories(ar_boost INTERFACE 1.58.0)
target_include_directories(ar_boost INTERFACE ${Boost_INCLUDE_DIRS})