From ac717215d73122bf0f7d25826aff0712e5401974 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Tue, 6 Jul 2021 20:18:45 +0300 Subject: [PATCH] Update CMakeLists.txt --- vendor/CMakeLists.txt | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/vendor/CMakeLists.txt b/vendor/CMakeLists.txt index 374d5284..39ff48a5 100644 --- a/vendor/CMakeLists.txt +++ b/vendor/CMakeLists.txt @@ -9,11 +9,6 @@ add_subdirectory(PUGIXML) set(BUILD_TESTING OFF CACHE INTERNAL "" FORCE) set(BUILD_SHARED_LIBS OFF CACHE INTERNAL "" FORCE) add_subdirectory(MaxmindDB) -set(JANSSON_EXAMPLES OFF CACHE INTERNAL "" FORCE) -set(JANSSON_BUILD_DOCS OFF CACHE INTERNAL "" FORCE) -set(JANSSON_WITHOUT_TESTS ON CACHE INTERNAL "" FORCE) -add_subdirectory(Jansson) -add_subdirectory(FileSystem) #set(POCO_STATIC ON CACHE INTERNAL "" FORCE) set(BUILD_SHARED_LIBS OFF CACHE INTERNAL "" FORCE) set(ENABLE_FOUNDATION ON CACHE INTERNAL "" FORCE) @@ -49,4 +44,12 @@ endif() set(BUILD_TESTS OFF CACHE INTERNAL "" FORCE) set(BUILD_SHARED OFF CACHE INTERNAL "" FORCE) set(BUILD_STATIC ON CACHE INTERNAL "" FORCE) -add_subdirectory(ZMQ) \ No newline at end of file +if (WIN32 OR MINGW) + set(ZMQ_HAVE_IPC OFF CACHE INTERNAL "" FORCE) +endif() +add_subdirectory(ZMQ) +set(JANSSON_EXAMPLES OFF CACHE INTERNAL "" FORCE) +set(JANSSON_BUILD_DOCS OFF CACHE INTERNAL "" FORCE) +set(JANSSON_WITHOUT_TESTS ON CACHE INTERNAL "" FORCE) +add_subdirectory(Jansson) +add_subdirectory(FileSystem) \ No newline at end of file