summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2015-05-30 15:07:18 +0200
committerAlexander Harkness <me@bearbin.net>2015-05-30 15:07:18 +0200
commitddb173b2898e1ab9fccaf1a2f0c51080e3de9712 (patch)
tree099895f59860d551e075a59e66aec68aa27ca34f
parentMerge branch 'master' of github.com:mc-server/MCServer (diff)
parentMoved shared cmake flags to the CMAKE_C_FLAGS var (diff)
downloadcuberite-ddb173b2898e1ab9fccaf1a2f0c51080e3de9712.tar
cuberite-ddb173b2898e1ab9fccaf1a2f0c51080e3de9712.tar.gz
cuberite-ddb173b2898e1ab9fccaf1a2f0c51080e3de9712.tar.bz2
cuberite-ddb173b2898e1ab9fccaf1a2f0c51080e3de9712.tar.lz
cuberite-ddb173b2898e1ab9fccaf1a2f0c51080e3de9712.tar.xz
cuberite-ddb173b2898e1ab9fccaf1a2f0c51080e3de9712.tar.zst
cuberite-ddb173b2898e1ab9fccaf1a2f0c51080e3de9712.zip
-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()