CMAKE: Do not override system C/C++ compiler flags when no build type is defined. This will make things easiers for packaging.
This commit is contained in:
parent
a8c1e753b1
commit
4a9bf47455
|
@ -113,8 +113,11 @@ IF ( WIN32 )
|
|||
ELSE ( WIN32 )
|
||||
SET( CMAKE_ASM_NASM_FLAGS "-I$(CMAKE_SOURCE_DIR)/src/filters/hq/asm/ -O1 -DELF -w-orphan-labels")
|
||||
ENDIF ( WIN32 )
|
||||
SET( CMAKE_C_FLAGS "-O3 -Wall")
|
||||
SET( CMAKE_CXX_FLAGS "-O3 -Wall")
|
||||
|
||||
SET( CMAKE_C_FLAGS_RELEASE "-O3")
|
||||
SET( CMAKE_CXX_FLAGS_RELEASE "-O3")
|
||||
SET( CMAKE_C_FLAGS_DEBUG "-g -Wall")
|
||||
SET( CMAKE_CXX_FLAGS_DEBUG "-g -Wall")
|
||||
|
||||
# Source files definition
|
||||
SET(SRC_FEX
|
||||
|
|
Loading…
Reference in New Issue