summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-08-21 02:18:13 (GMT)
committerBrad King <brad.king@kitware.com>2022-09-22 13:24:48 (GMT)
commit83491ddd43fb4733940c92e9d7d7647f66f49bbe (patch)
tree8f7ef01b2cd622e90b4d6824b3bb0b4a609781bd /CMakeLists.txt
parent1bcacccce9e60800ea826c7e79012a64fec4e687 (diff)
downloadCMake-83491ddd43fb4733940c92e9d7d7647f66f49bbe.zip
CMake-83491ddd43fb4733940c92e9d7d7647f66f49bbe.tar.gz
CMake-83491ddd43fb4733940c92e9d7d7647f66f49bbe.tar.bz2
Build: `add_definitions()` → `add_compile_definitions()`
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 54ff7e2..a50e222 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -595,7 +595,7 @@ macro(CMAKE_BUILD_UTILITIES)
set(EXPAT_LIBRARY ${CMAKE_EXPAT_LIBRARIES})
set(ZLIB_INCLUDE_DIR ${CMAKE_ZLIB_INCLUDES})
set(ZLIB_LIBRARY ${CMAKE_ZLIB_LIBRARIES})
- add_definitions(-DLIBARCHIVE_STATIC)
+ add_compile_definitions(LIBARCHIVE_STATIC)
set(ENABLE_MBEDTLS OFF)
set(ENABLE_NETTLE OFF)
if(DEFINED CMAKE_USE_OPENSSL)