From 2a197bc7d4f9d0bcdd987c4390935098fe090916 Mon Sep 17 00:00:00 2001 From: Markus Reitboeck Date: Thu, 11 Apr 2019 23:22:54 +0200 Subject: [PATCH] CMake: no need to set compiler definition _OCC64 twice --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f12558ced3..9325f9e841 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1178,7 +1178,6 @@ include_directories(${CMAKE_BINARY_DIR}/src # check for 64-bit platform if(CMAKE_SIZEOF_VOID_P EQUAL 8) message(STATUS "Platform is 64-bit, set -D_OCC64") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_OCC64") add_definitions(-D_OCC64 ) else(CMAKE_SIZEOF_VOID_P EQUAL 8) message(STATUS "Platform is 32-bit")