Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
VILLASframework
VILLAScommon
Commits
9bed48ae
Commit
9bed48ae
authored
Jan 14, 2019
by
Steffen Vogel
🎅🏼
Browse files
cmake: move thirdparty CMakeLists to subfolder
parent
096d6de3
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
9bed48ae
...
...
@@ -58,17 +58,7 @@ find_package(OpenSSL 1.0.0 REQUIRED)
find_package
(
CURL 7.29 REQUIRED
)
find_package
(
Criterion
)
set
(
SPDLOG_BUILD_EXAMPLES OFF CACHE BOOL
"Build examples"
FORCE
)
set
(
SPDLOG_BUILD_TESTING OFF CACHE BOOL
"Build spdlog tests"
FORCE
)
set
(
SPDLOG_BUILD_BENCH OFF CACHE BOOL
"Build spdlog benchmarks"
FORCE
)
add_subdirectory
(
thirdparty/spdlog
)
set
(
FMT_DOC OFF CACHE BOOL
"Generate the doc target."
FORCE
)
set
(
FMT_INSTALL OFF CACHE BOOL
"Generate the install target."
FORCE
)
set
(
FMT_TEST OFF CACHE BOOL
"Generate the test target."
FORCE
)
add_subdirectory
(
thirdparty/fmtlib
)
target_compile_options
(
fmt PUBLIC -fPIC
)
add_subdirectory
(
thirdparty
)
pkg_check_modules
(
JANSSON IMPORTED_TARGET REQUIRED jansson>=2.7
)
pkg_check_modules
(
LIBCONFIG IMPORTED_TARGET libconfig>=1.4.9
)
...
...
thirdparty/CMakeLists.txt
0 → 100644
View file @
9bed48ae
# We dont want to install the spdlog headers
#set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL ON)
set
(
SPDLOG_BUILD_EXAMPLES OFF CACHE BOOL
"Build examples"
FORCE
)
set
(
SPDLOG_BUILD_TESTING OFF CACHE BOOL
"Build spdlog tests"
FORCE
)
set
(
SPDLOG_BUILD_BENCH OFF CACHE BOOL
"Build spdlog benchmarks"
FORCE
)
add_subdirectory
(
spdlog
)
set
(
FMT_DOC OFF CACHE BOOL
"Generate the doc target."
FORCE
)
set
(
FMT_INSTALL OFF CACHE BOOL
"Generate the install target."
FORCE
)
set
(
FMT_TEST OFF CACHE BOOL
"Generate the test target."
FORCE
)
add_subdirectory
(
fmtlib
)
target_compile_options
(
fmt PUBLIC -fPIC
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment