summaryrefslogtreecommitdiffstats
path: root/SetFlags.cmake
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-05-30 14:32:22 +0200
committertycho <work.tycho@gmail.com>2015-05-30 14:32:22 +0200
commitd5c89eceb8b5596816a74e5c4ce08b851403f19b (patch)
treea664d106821405e20b4b7c3d12b50c2528f6adef /SetFlags.cmake
parentFixed minor cast warning (diff)
downloadcuberite-d5c89eceb8b5596816a74e5c4ce08b851403f19b.tar
cuberite-d5c89eceb8b5596816a74e5c4ce08b851403f19b.tar.gz
cuberite-d5c89eceb8b5596816a74e5c4ce08b851403f19b.tar.bz2
cuberite-d5c89eceb8b5596816a74e5c4ce08b851403f19b.tar.lz
cuberite-d5c89eceb8b5596816a74e5c4ce08b851403f19b.tar.xz
cuberite-d5c89eceb8b5596816a74e5c4ce08b851403f19b.tar.zst
cuberite-d5c89eceb8b5596816a74e5c4ce08b851403f19b.zip
Diffstat (limited to '')
-rw-r--r--SetFlags.cmake10
1 files changed, 2 insertions, 8 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index e336bd6c8..b79551eef 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -16,14 +16,8 @@ macro (add_flags_lnk FLAGS)
endmacro()
macro(add_flags_cxx FLAGS)
- #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${FLAGS}")
- #set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${FLAGS}")
- set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${FLAGS}")
- set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} ${FLAGS}")
- set(CMAKE_CXX_FLAGS_COVERAGE "${CMAKE_CXX_FLAGS_COVERAGE} ${FLAGS}")
- set(CMAKE_C_FLAGS_COVERAGE "${CMAKE_C_FLAGS_COVERAGE} ${FLAGS}")
- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${FLAGS}")
- set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${FLAGS}")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${FLAGS}")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${FLAGS}")
endmacro()