aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/config.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/config.cmake')
-rw-r--r--conf.d/config.cmake6
1 files changed, 1 insertions, 5 deletions
diff --git a/conf.d/config.cmake b/conf.d/config.cmake
index b2e7b91..3554631 100644
--- a/conf.d/config.cmake
+++ b/conf.d/config.cmake
@@ -71,11 +71,7 @@ set (PKG_REQUIRED_LIST
# Static constante definition
# -----------------------------
-add_compile_options()
-
-# LANG Specific compile flags set for all build types
-set(CMAKE_C_FLAGS "")
-set(CMAKE_CXX_FLAGS "-std=c++11")
+add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-std=c++11>)
# Print a helper message when every thing is finished
# ----------------------------------------------------