aboutsummaryrefslogtreecommitdiff
path: root/dep/gsoap/CMakeLists.txt
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-07-15 15:24:35 +0200
committerOvahlord <dreadkiller@gmx.de>2024-07-18 22:34:00 +0200
commitc12f669fc5050017d98ec57c8a45e575154a5edb (patch)
treea735717a956aca535812b29d8d2fd4f80e72a851 /dep/gsoap/CMakeLists.txt
parent5e3a42ee8251ec0495ad42b57db728363bf7b844 (diff)
Build: CMake cleanup
* Migrate all add_definitions to target_compile_definitions * Remove -D from preprocessor definitions added by target_compile_definitions (unneccessary, cmake strips it anyway) * Fixed NO_BUFFERPOOL not being set on g3d if jemalloc is used * Moved library/compiler specific compile flag settings spread all over various CMakeLists to their related library/compiler file * Remove ancient manual link flag settings for worldserver (cherry picked from commit 77fe2745febab9e4362b09750093d831325e6091)
Diffstat (limited to 'dep/gsoap/CMakeLists.txt')
-rw-r--r--dep/gsoap/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/dep/gsoap/CMakeLists.txt b/dep/gsoap/CMakeLists.txt
index cd5bc0ad085..77fb50d1e87 100644
--- a/dep/gsoap/CMakeLists.txt
+++ b/dep/gsoap/CMakeLists.txt
@@ -20,7 +20,7 @@ target_include_directories(gsoap
target_compile_definitions(gsoap
PUBLIC
- -DWITH_OPENSSL)
+ WITH_OPENSSL)
target_link_libraries(gsoap
PRIVATE
@@ -37,5 +37,5 @@ if (MSVC)
# Little fix for MSVC / Windows platforms
target_compile_definitions(gsoap
PRIVATE
- -D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=0)
+ _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=0)
endif()