mirror of https://gitee.com/bigwinds/arangodb
fix: boost
This commit is contained in:
parent
d89e083bd3
commit
5b2698058b
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue