X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=CMakeLists.txt;h=da601e0852e248370db7c3624e5f50e519e6ad86;hb=7129df470867291f917e6718dad2a964e113aad6;hp=54f03b3f124f3efa81352600b4ecf0e776d816f9;hpb=edf934b179dcd521b519fe8c973c615f48159c61;p=src%2Fapp-framework-binder.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 54f03b3f..da601e08 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,6 +70,7 @@ add_compile_options(-Werror=implicit-function-declaration) add_compile_options(-ffunction-sections -fdata-sections) add_compile_options(-fPIC) add_compile_options(-g -O2) +add_compile_options(-ffile-prefix-map=${CMAKE_CURRENT_SOURCE_DIR}=.) set (CMAKE_CXX_STANDARD 14) set(CMAKE_C_FLAGS_PROFILING "-g -O2 -pg -U_FORTIFY_SOURCE") @@ -198,6 +199,8 @@ ENDIF() IF(INCLUDE_SUPERVISOR) CONFIGURE_FILE(afs-supervisor.service.in afs-supervisor.service @ONLY) INSTALL(FILES + ${CMAKE_CURRENT_SOURCE_DIR}/afm-api-supervisor.service + ${CMAKE_CURRENT_SOURCE_DIR}/afm-api-supervisor.socket ${CMAKE_CURRENT_BINARY_DIR}/afs-supervisor.service DESTINATION ${UNITDIR_SYSTEM}