diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-07-20 22:50:49 +0200 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-07-20 22:50:49 +0200 |
commit | ee2067d0383ee2a45e9730402120310bde634ea5 (patch) | |
tree | f07cb22478d12fd0d0c8311c6b6386f6bcf32144 /conf.d/config.cmake | |
parent | 40df603f9f4153b4d8a962644938025244f34ddc (diff) | |
parent | 92f95384ce4b4a198b1fea93272201421f7b9a39 (diff) |
Merge remote-tracking branch 'gerrit/master' into dabdab_4.0.3dab_4.0.2dab_4.0.1dab_4.0.0dab_3.99.3dab/4.0.3dab/4.0.2dab/4.0.1dab/4.0.0dab/3.99.34.0.34.0.24.0.14.0.03.99.3dab
Diffstat (limited to 'conf.d/config.cmake')
-rw-r--r-- | conf.d/config.cmake | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/conf.d/config.cmake b/conf.d/config.cmake index f6e6668..1f50917 100644 --- a/conf.d/config.cmake +++ b/conf.d/config.cmake @@ -56,19 +56,11 @@ set (gcc_minimal_version 4.9) # PKG_CONFIG required packages # ----------------------------- -set (PKG_REQUIRED_LIST - json-c - libsystemd - afb-daemon -) +set (PKG_REQUIRED_LIST) # Static constante definition # ----------------------------- -#add_compile_options() - -# LANG Specific compile flags set for all build types -set(CMAKE_C_FLAGS "" CACHE STRING "C compile flags") -set(CMAKE_CXX_FLAGS "-std=c++11" CACHE STRING "C++ compile flags") +add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-std=c++11>) # Print a helper message when every thing is finished # ---------------------------------------------------- @@ -76,7 +68,7 @@ set(CLOSING_MESSAGE "Test with: ./src/can-config-generator -m ../tests/basic.jso # (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable] # --------------------------------------------------------------------- -set(CMAKE_INSTALL_PREFIX $ENV{HOME}/opt) +# set(CMAKE_INSTALL_PREFIX $ENV{HOME}/opt) set(CMAKE_PREFIX_PATH ${CMAKE_INSTALL_PREFIX}/lib64/pkgconfig ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig) set(LD_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib) |