We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f10e8a7 commit 00b52fcCopy full SHA for 00b52fc
CMakeLists.txt
@@ -120,7 +120,9 @@ FetchContent_Declare(
120
GIT_TAG 8db54418e3ccdd97619ac8b69bb3702f82bb0f66
121
)
122
FetchContent_Populate(folly)
123
-include_directories(SYSTEM ${folly_SOURCE_DIR})
+
124
+add_library(folly_headers INTERFACE)
125
+target_include_directories(folly_headers SYSTEM INTERFACE ${folly_SOURCE_DIR})
126
127
### bison & flex (for oid_parser)
128
find_package(BISON 3.5 REQUIRED)
src/CMakeLists.txt
@@ -31,6 +31,7 @@ target_link_libraries(codegen
31
32
Boost::headers
33
${Boost_LIBRARIES}
34
+ folly_headers
35
glog::glog
36
tomlplusplus::tomlplusplus
37
0 commit comments