Skip to content

Commit

Permalink
cmake: stop passing unused C macros
Browse files Browse the repository at this point in the history
- `-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.
  • Loading branch information
vszakats committed Nov 7, 2023
1 parent b845c08 commit 557b5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ if(WIN32)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
add_definitions(-D_CRT_DEPRECATED_NO_WARNINGS)
add_definitions(-D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS)
add_definitions(-DCPPFLAGS -DNO_SYSLOG -DNO_CRYPT)
add_definitions(-DNO_SYSLOG)
add_definitions(-DWIN32_LEAN_AND_MEAN)
if(NOT CMAKE_SYSTEM_NAME MATCHES "WindowsStore")
add_definitions(-D_WIN32_WINNT=0x0600)
Expand Down

0 comments on commit 557b5a1

Please sign in to comment.