[CMAKE] Move ccache related handling to the gcc set.

svn path=/trunk/; revision=66389
This commit is contained in:
Amine Khaldi 2015-02-21 14:40:14 +00:00
parent b5ea02031c
commit 34c7987e0d
2 changed files with 2 additions and 5 deletions

View file

@ -102,11 +102,6 @@ else()
#useful stuff!
include(CMakeParseArguments)
if(ENABLE_CCACHE)
set(CMAKE_C_USE_RESPONSE_FILE_FOR_INCLUDES OFF)
set(CMAKE_CXX_USE_RESPONSE_FILE_FOR_INCLUDES OFF)
endif()
# Default to Debug for the build type
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING
"Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel." FORCE)

View file

@ -2,6 +2,8 @@
# Show a note about ccache build
if(ENABLE_CCACHE)
message("-- Enabling ccache build - done")
set(CMAKE_C_USE_RESPONSE_FILE_FOR_INCLUDES OFF)
set(CMAKE_CXX_USE_RESPONSE_FILE_FOR_INCLUDES OFF)
endif()
# PDB style debug info