diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-07-15 15:24:35 +0200 |
---|---|---|
committer | Ovahlord <dreadkiller@gmx.de> | 2024-07-18 22:34:00 +0200 |
commit | c12f669fc5050017d98ec57c8a45e575154a5edb (patch) | |
tree | a735717a956aca535812b29d8d2fd4f80e72a851 /dep/argon2/CMakeLists.txt | |
parent | 5e3a42ee8251ec0495ad42b57db728363bf7b844 (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/argon2/CMakeLists.txt')
-rw-r--r-- | dep/argon2/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dep/argon2/CMakeLists.txt b/dep/argon2/CMakeLists.txt index f503afaa6d9..7b9a993e2a2 100644 --- a/dep/argon2/CMakeLists.txt +++ b/dep/argon2/CMakeLists.txt @@ -23,7 +23,7 @@ add_library(argon2 STATIC target_compile_definitions(argon2 PRIVATE - -DARGON2_NO_THREADS) + ARGON2_NO_THREADS) set_target_properties(argon2 PROPERTIES LINKER_LANGUAGE CXX) |