Lines 159-166
Link Here
|
159 |
ADD_DEFINITIONS(-DQ_ENABLE_OPENGL_FUNCTIONS_DEBUG) |
159 |
ADD_DEFINITIONS(-DQ_ENABLE_OPENGL_FUNCTIONS_DEBUG) |
160 |
ENDIF() |
160 |
ENDIF() |
161 |
|
161 |
|
162 |
# Use ccache if possible |
162 |
# Use ccache if possible and allowed |
163 |
IF(NOT WIN32) |
163 |
option(CCACHE_ALLOWED "allow use of ccache" TRUE) |
|
|
164 |
IF(CCACHE_ALLOWED AND NOT WIN32) |
164 |
FIND_PROGRAM(CCACHE_PROGRAM ccache) |
165 |
FIND_PROGRAM(CCACHE_PROGRAM ccache) |
165 |
IF(CCACHE_PROGRAM) |
166 |
IF(CCACHE_PROGRAM) |
166 |
MESSAGE(STATUS "Found ccache ${CCACHE_PROGRAM}") |
167 |
MESSAGE(STATUS "Found ccache ${CCACHE_PROGRAM}") |