cmake: fix printed C/CXX flags

Build type-specific flags are added before other flags, reflect this in
the output.
This commit is contained in:
Peter Wu 2016-03-15 13:58:53 +01:00
parent 439636c579
commit b348a02b85
1 changed files with 2 additions and 2 deletions

View File

@ -458,9 +458,9 @@ message(STATUS "summary of build options:
Compiler:
Build type: ${CMAKE_BUILD_TYPE}
C compiler: ${CMAKE_C_COMPILER}
CFLAGS: ${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_${_build_type}}
CFLAGS: ${CMAKE_C_FLAGS_${_build_type}} ${CMAKE_C_FLAGS}
C++ compiler: ${CMAKE_CXX_COMPILER}
CXXFLAGS: ${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${_build_type}}
CXXFLAGS: ${CMAKE_CXX_FLAGS_${_build_type}} ${CMAKE_CXX_FLAGS}
WARNCFLAGS: ${WARNCFLAGS}
CXX1XCXXFLAGS: ${CXX1XCXXFLAGS}
Python: