From 02edad4c989f60e248657bb7854253f8297db583 Mon Sep 17 00:00:00 2001 From: saturneric Date: Tue, 30 Jul 2024 19:33:21 +0200 Subject: fix: use standard os detection macro --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index c8a4212c..795dd522 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -292,7 +292,6 @@ IF(MINGW) message(STATUS "Build Environment MINGW") set(OS_PLATFORM 0) - add_definitions(-DWINDOWS) include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/src @@ -313,7 +312,6 @@ if(APPLE) message(STATUS "GpgFrontend Configuration For OS Platform MacOS") set(OS_PLATFORM 1) - ADD_DEFINITIONS(-DMACOS) if(XCODE_BUILD) set(XCODE_CODE_SIGN_IDENTITY "\"${XCODE_CODE_SIGN_IDENTITY}\"") @@ -347,7 +345,6 @@ if(LINUX) message(STATUS "GpgFrontend Configuration For OS Platform Linux") set(OS_PLATFORM 2) - add_compile_definitions(LINUX) # Get Env Info find_program(UNAME_PROGRAM uname) -- cgit v1.2.3