X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=apps%2Fcamera-gstreamer.git;a=blobdiff_plain;f=app%2FCMakeLists.txt;fp=app%2FCMakeLists.txt;h=d7935f32bc635d103e8117db47fbd17364289772;hp=fc71e8fa8e4835c5e347631e5583ba8fd1e43fa6;hb=4f2e6690a893ed41be6eb3c74d6cab82a5e12f39;hpb=af8a4ba93e3afe42bfc57b5ce4c207782ed3b2d4 diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index fc71e8f..d7935f3 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -117,3 +117,5 @@ target_link_libraries(${PROJECT_NAME} install(TARGETS ${PROJECT_NAME} DESTINATION bin) include(GNUInstallDirs) install(FILES ${PROJECT_NAME}.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications) +install(FILES still-image.jpg DESTINATION ${CMAKE_INSTALL_DATADIR}/applications/data) +add_definitions(-DAPP_DATA_PATH=${CMAKE_INSTALL_FULL_DATADIR}/applications/data)