-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Artiom N.
committed
Dec 6, 2024
1 parent
1ae5a0d
commit be37708
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -219,10 +219,6 @@ include(print-variables) | |
# Build third-party. | ||
# | ||
|
||
#if (MSVC) | ||
# set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE) | ||
#endif() | ||
|
||
if (KNP_BUILD_AUTONOMOUS) | ||
if (NOT CPM_SOURCE_CACHE_DEFAULT) | ||
set(CPM_SOURCE_CACHE_DEFAULT "${CMAKE_CURRENT_SOURCE_DIR}/third-party") | ||
|
@@ -243,6 +239,15 @@ else() | |
set(ZMQ_ENABLE_PRECOMPS ON) | ||
endif() | ||
|
||
add_third_party("gh:gabime/[email protected]" | ||
OPTIONS | ||
"SPDLOG_BUILD_PIC ON" | ||
"SPDLOG_BUILD_SHARED OFF") | ||
|
||
if (MSVC) | ||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE) | ||
endif() | ||
|
||
add_third_party(NAME "libzmq" | ||
GITHUB_REPOSITORY "zeromq/libzmq" | ||
VERSION "4.3.5" | ||
|
@@ -314,11 +319,6 @@ if ("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "^x86.*") | |
include_directories("${CPM_PACKAGE_pcm_SOURCE_DIR}/src") | ||
endif() | ||
|
||
add_third_party("gh:gabime/[email protected]" | ||
OPTIONS | ||
"SPDLOG_BUILD_PIC ON" | ||
"SPDLOG_BUILD_SHARED OFF") | ||
|
||
add_third_party("gh:zeromq/[email protected]" | ||
OPTIONS | ||
"CPPZMQ_BUILD_TESTS OFF") | ||
|