mirror of
https://github.com/JakeHillion/object-introspection.git
synced 2024-11-12 21:56:54 +00:00
folly: create explicit folly_headers library target
This commit is contained in:
parent
f10e8a7173
commit
00b52fca6f
@ -120,7 +120,9 @@ FetchContent_Declare(
|
||||
GIT_TAG 8db54418e3ccdd97619ac8b69bb3702f82bb0f66
|
||||
)
|
||||
FetchContent_Populate(folly)
|
||||
include_directories(SYSTEM ${folly_SOURCE_DIR})
|
||||
|
||||
add_library(folly_headers INTERFACE)
|
||||
target_include_directories(folly_headers SYSTEM INTERFACE ${folly_SOURCE_DIR})
|
||||
|
||||
### bison & flex (for oid_parser)
|
||||
find_package(BISON 3.5 REQUIRED)
|
||||
|
@ -31,6 +31,7 @@ target_link_libraries(codegen
|
||||
|
||||
Boost::headers
|
||||
${Boost_LIBRARIES}
|
||||
folly_headers
|
||||
glog::glog
|
||||
tomlplusplus::tomlplusplus
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user