aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktor Szakats <commit@vsz.me>2023-11-07 14:39:16 +0000
committerViktor Szakats <commit@vsz.me>2023-11-07 16:53:09 +0000
commit557b5a191a3d413d3e3121fb7f1b6c92e9052771 (patch)
tree18974650ad5df539e982d0482984c6ebf179f232
parentb845c086e2e79cd930f5f9540a7ae174b344a7cc (diff)
downloadportable-557b5a191a3d413d3e3121fb7f1b6c92e9052771.tar.gz
portable-557b5a191a3d413d3e3121fb7f1b6c92e9052771.tar.bz2
portable-557b5a191a3d413d3e3121fb7f1b6c92e9052771.zip
cmake: stop passing unused C macros
- `-DCPPFLAGS`: probably a copy-paste typo from the initial CMake commit. - `-DNO_CRYPT`: `NO_CRYPT` is no longer used in the source and this macro is no longer set by autotools.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 950a79e..541cc11 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -129,7 +129,7 @@ if(WIN32)
129 add_definitions(-D_CRT_SECURE_NO_WARNINGS) 129 add_definitions(-D_CRT_SECURE_NO_WARNINGS)
130 add_definitions(-D_CRT_DEPRECATED_NO_WARNINGS) 130 add_definitions(-D_CRT_DEPRECATED_NO_WARNINGS)
131 add_definitions(-D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS) 131 add_definitions(-D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS)
132 add_definitions(-DCPPFLAGS -DNO_SYSLOG -DNO_CRYPT) 132 add_definitions(-DNO_SYSLOG)
133 add_definitions(-DWIN32_LEAN_AND_MEAN) 133 add_definitions(-DWIN32_LEAN_AND_MEAN)
134 if(NOT CMAKE_SYSTEM_NAME MATCHES "WindowsStore") 134 if(NOT CMAKE_SYSTEM_NAME MATCHES "WindowsStore")
135 add_definitions(-D_WIN32_WINNT=0x0600) 135 add_definitions(-D_WIN32_WINNT=0x0600)