From dab54cf6b0e937ad09a2c33381f9df04cd136474 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sun, 23 Aug 2015 23:09:01 +0200 Subject: [PATCH 1/1] kill an unused macro --- CMakeLists.txt | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c7571e1687..907ffaa556 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 2.6) -project(SimGrid C) +project(SimGrid C CXX) #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Check for the compiler # @@ -10,12 +10,10 @@ project(SimGrid C) if(WIN32) SET(CMAKE_RC_COMPILER "windres") endif() + ## ## Check the C/C++ standard that we need ## See also tools/cmake/Flags.cmake that sets our paranoid warning flags - -enable_language(CXX) - INCLUDE(CheckCCompilerFlag) CHECK_C_COMPILER_FLAG(-fstack-cleaner HAVE_C_STACK_CLEANER) @@ -214,12 +212,6 @@ if(WIN32) message("You REALLY should use MinGW to compile SimGrid on Windows!") endif() - if(ARCH_32_BITS) ### Arch 32bits - set(_WIN32 1) - else() ### Arch 64bits - set(_WIN64 1) - endif() - set(NSIS_WIN_VERSION $ENV{PROCESSOR_ARCHITEW6432}) if(NSIS_WIN_VERSION MATCHES "") set(NSIS_WIN_VERSION $ENV{PROCESSOR_ARCHITECTURE}) -- 2.20.1