Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-06-22 15:29:13 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-06-22 15:29:13 +0300
commitec27776d8e44137333468e24ab0606d17ad87bfe (patch)
treef4b61e95596a97d2dcd6e4a21233570e39d366b6
parent38247fc80b8c6af4e68d0c0809eb6af0c0a65ea4 (diff)
CMake: Cleanup, add_cc_flag -> add_c_flag
-rw-r--r--build_files/cmake/macros.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake
index e77d096c145..b487eb4f61b 100644
--- a/build_files/cmake/macros.cmake
+++ b/build_files/cmake/macros.cmake
@@ -1041,7 +1041,7 @@ macro(remove_cc_flag
endmacro()
-macro(add_cc_flag
+macro(add_c_flag
flag)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${flag}")
@@ -1076,7 +1076,7 @@ macro(remove_strict_flags)
)
# negate flags implied by '-Wall'
- add_cc_flag("${C_REMOVE_STRICT_FLAGS}")
+ add_c_flag("${C_REMOVE_STRICT_FLAGS}")
add_cxx_flag("${CXX_REMOVE_STRICT_FLAGS}")
endif()
@@ -1089,7 +1089,7 @@ macro(remove_strict_flags)
)
# negate flags implied by '-Wall'
- add_cc_flag("${C_REMOVE_STRICT_FLAGS}")
+ add_c_flag("${C_REMOVE_STRICT_FLAGS}")
add_cxx_flag("${CXX_REMOVE_STRICT_FLAGS}")
endif()