diff options
author | christian mueller <christian.ei.mueller@bmw.de> | 2012-05-15 15:30:57 +0200 |
---|---|---|
committer | christian mueller <christian.ei.mueller@bmw.de> | 2012-05-24 13:40:23 +0200 |
commit | a572fc87a811563f62b88116de699f803915383e (patch) | |
tree | 2c419a08d8c1668f008dd22ba53c3ea88c4dd208 /CMakeLists.txt | |
parent | d7b697d96b02e7a840e7338a864d7aaa28a61479 (diff) | |
download | audiomanager-a572fc87a811563f62b88116de699f803915383e.tar.gz |
* fixed wrong implementation of ProjectSpecific folder by using absolute paths
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4dde49b..722d49a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,7 +75,7 @@ OPTION ( USE_BUILD_LIBS OPTION ( GLIB_DBUS_TYPES_TOLERANT "build dbus with tolerance towards glib 16bit/32bit handling" ON) - + #Can be changed via passing -DDBUS_SERVICE_PREFIX="XXX" to cmake IF(NOT DEFINED DBUS_SERVICE_PREFIX) SET( DBUS_SERVICE_PREFIX "org.genivi.audiomanager\0" ) @@ -124,7 +124,6 @@ endif(EXISTS "ProjectSpecific/") CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/cmake/config.cmake ${CMAKE_SOURCE_DIR}/include/config.h ) CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/AudioManagerDaemon/docx/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/DoxyFile ) - IF(WITH_DLT) pkg_check_modules(DLT REQUIRED automotive-dlt>=2.2.0) ENDIF(WITH_DLT) @@ -160,9 +159,9 @@ if(WITH_MAIN) add_subdirectory (AudioManagerDaemon) endif(WITH_MAIN) -IF(EXISTS "ProjectSpecific/") +IF(EXISTS "${CMAKE_SOURCE_DIR}/ProjectSpecific/") add_subdirectory (ProjectSpecific) -endif(EXISTS "ProjectSpecific/") +endif(EXISTS "${CMAKE_SOURCE_DIR}/ProjectSpecific/") # uninstall target configure_file( |