From 098854d18568a2ea17f47a3711d3f74bdafb4c3e Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 9 May 2017 16:43:08 +0200 Subject: Update CMake to the reference app-template. WIP Change-Id: Icbab921e8ae3380c09cf5b2f5e7f4ba4a59e4c6e Signed-off-by: Romain Forlot --- CAN-binder/etc/config.cmake | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'CAN-binder/etc/config.cmake') diff --git a/CAN-binder/etc/config.cmake b/CAN-binder/etc/config.cmake index 7893de0b..804db6a1 100644 --- a/CAN-binder/etc/config.cmake +++ b/CAN-binder/etc/config.cmake @@ -34,8 +34,7 @@ set(CMAKE_BUILD_TYPE "DEBUG") # Compiler selection if needed. Overload the detected compiler. # ----------------------------------------------- -#set(CMAKE_C_COMPILER "gcc") -#set(CMAKE_CXX_COMPILER "g++") + set (gcc_minimal_version 4.9) # PKG_CONFIG required packages # ----------------------------- @@ -57,7 +56,7 @@ set(CMAKE_CXX_FLAGS "-std=c++11") # Print a helper message when every thing is finished # ---------------------------------------------------- set(CLOSING_MESSAGE "Test with: afb-daemon --rootdir=\$\$(pwd)/low-can-binding/package --ldpaths=\$\$(pwd)/low-can-binding/package/lib --port=1234 --roothttp=\$\$(pwd)/low-can-binding/package/htdocs --tracereq=common --token=\"\" --verbose") - +set(WIDGET_MESSAGE "Install widget file using in the target : afm-util install ${PROJECT_NAME}.wgt") # (BUG!!!) as PKG_CONFIG_PATH does not work [should be an env variable] # --------------------------------------------------------------------- -- cgit 1.2.3-korg