Update git clone command in documentation
[apps/agl-service-can-low-level.git] / CAN-config-generator / etc / config.cmake
index 1819daa..50cb346 100644 (file)
@@ -43,8 +43,8 @@ add_compile_options(-D_REENTRANT)
 add_compile_options(-DPB_FIELD_16BIT)
 
 # LANG Specific compile flags set for all build types
-set(CMAKE_C_FLAGS "")
-set(CMAKE_CXX_FLAGS "-std=c++11")
+set(CMAKE_C_FLAGS "" CACHE STRING "C compile flags")
+set(CMAKE_CXX_FLAGS "-std=c++11" CACHE STRING "C++ compile flags")
 
 # Print a helper message when every thing is finished
 setc(CLOSING_MESSAGE "Test with: ./can-config-generator -m ../tests/basic.json -o configuration-generated.cpp")