X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=cmake%2Fcommon.cmake;h=8e23af79416b9744f3029eba3579f6a0c4576a67;hb=c46c36a2d0e1b27159fdb98cba89f45e4f3dfaa9;hp=9904692b83763ec42935e0fa9cc39c8ff81a2b90;hpb=6cd7467fbe20534d26440b4c374ff960efbdf835;p=staging%2Fxdg-launcher.git diff --git a/cmake/common.cmake b/cmake/common.cmake index 9904692..8e23af7 100644 --- a/cmake/common.cmake +++ b/cmake/common.cmake @@ -155,9 +155,9 @@ macro(remote_targets_populate) ) if(NOT RSYNC_TARGET OR NOT RSYNC_PREFIX) - message (".. Warning: RSYNC_TARGET RSYNC_PREFIX not defined 'make remote-target-populate' not instanciated") + message ("${Yellow}.. Warning: RSYNC_TARGET RSYNC_PREFIX not defined 'make remote-target-populate' not instanciated${ColourReset}") add_custom_target(remote-target-populate - COMMENT "*** Fatal: RSYNC_TARGET RSYNC_PREFIX required with 'make remote-target-populate'" + COMMENT "${Red}*** Fatal: RSYNC_TARGET RSYNC_PREFIX environment variables required with 'make remote-target-populate'${ColourReset}" COMMAND exit -1 ) else() @@ -278,6 +278,9 @@ project(${PROJECT_NAME} VERSION ${PROJECT_VERSION} LANGUAGES ${PROJECT_LANGUAGES set(PROJECT_LIBDIR "${CMAKE_SOURCE_DIR}/libs" CACHE PATH "Subpath to libraries") set(PROJECT_RESOURCES "${CMAKE_SOURCE_DIR}/data" CACHE PATH "Subpath to data") +set(AFB_TOKEN "" CACHE PATH "Default AFB_TOKEN") +set(AFB_REMPORT "1234" CACHE PATH "Default AFB_TOKEN") + INCLUDE(FindPkgConfig) INCLUDE(CheckIncludeFiles) INCLUDE(CheckLibraryExists)