diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-07-15 15:24:35 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-07-15 15:24:35 +0200 |
commit | 77fe2745febab9e4362b09750093d831325e6091 (patch) | |
tree | 5ba9fa4dfe061dc304cedd80c5632d5460966ab7 /dep/gsoap | |
parent | d4998bd04a27237aba635401d5aff0d7aafa12e5 (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
Diffstat (limited to 'dep/gsoap')
-rw-r--r-- | dep/gsoap/CMakeLists.txt | 4 |
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() |