define cxx flags before the status message

This commit is contained in:
Faruk D 2018-02-27 15:58:41 +01:00
parent e657c4769a
commit 7fb1a1b10a
1 changed files with 3 additions and 3 deletions

View File

@ -118,6 +118,9 @@ if (NOT "$ENV{CASACORE_INCLUDE}" STREQUAL "")
endif()
#--------------------------------------- build parameters for all targets
set (CMAKE_CXX_FLAGS "-Wall -g -pg -Wextra -std=c++11 -W -Wpointer-arith -Woverloaded-virtual -Wwrite-strings -pedantic -Wno-long-long -O3 -ansi -fPIC -fpermissive -fno-omit-frame-pointer -DNDEBUG -fno-inline-functions -fno-inline-functions-called-once -fno-optimize-sibling-calls")
#--------------------------------------- summary
@ -156,9 +159,6 @@ message (STATUS "WCSLIB-LIBS ........... = ${WCSLIB_LIBRARIES}")
#--------------------------------------- build parameters for all targets
set (CMAKE_CXX_FLAGS "-Wall -g -pg -Wextra -std=c++11 -W -Wpointer-arith -Woverloaded-virtual -Wwrite-strings -pedantic -Wno-long-long -O3 -ansi -fPIC -fpermissive -fno-omit-frame-pointer -DNDEBUG -fno-inline-functions -fno-inline-functions-called-once -fno-optimize-sibling-calls")
#--------------------------------------- include directories
add_subdirectory(src)