aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/toolchain.clang-default.cmake
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-02-15 02:49:19 +0100
committerSven Gothel <[email protected]>2014-02-15 02:49:19 +0100
commite9208977d09972e81e5dac9e196199b4e28244e8 (patch)
tree29240a11f6ac2ae0f14fc105b16c94db683ab8c1 /cmake/toolchain.clang-default.cmake
parente6f4251945c228a775649b5ccd7f11dd4519c28d (diff)
cmake/toolchain*: Add CXX_FLAGS
Diffstat (limited to 'cmake/toolchain.clang-default.cmake')
-rw-r--r--cmake/toolchain.clang-default.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/toolchain.clang-default.cmake b/cmake/toolchain.clang-default.cmake
index 693f55c8..f38bf341 100644
--- a/cmake/toolchain.clang-default.cmake
+++ b/cmake/toolchain.clang-default.cmake
@@ -1,6 +1,7 @@
# For normal clang compilation
-# set(CMAKE_C_FLAGS "-include ${CMAKE_MODULE_PATH}/glibc-compat-symbols.h")
+# set(CMAKE_C_FLAGS "-include ${PROJECT_SOURCE_DIR}/cmake/glibc-compat-symbols.h")
+# set(CMAKE_CXX_FLAGS "-include ${PROJECT_SOURCE_DIR}/cmake/glibc-compat-symbols.h")
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}" CACHE STRING "c++ flags")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}" CACHE STRING "c flags")