Changeset View
Changeset View
Standalone View
Standalone View
exporter/CMakeLists.txt
1 | include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}) | 1 | include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | add_executable(plasma-discover-exporter main.cpp MuonExporter.cpp) | 3 | add_executable(plasma-discover-exporter main.cpp MuonExporter.cpp) | ||
4 | set_target_properties(plasma-discover-exporter PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR}/plasma-discover) | ||||
4 | 5 | | |||
5 | target_link_libraries(plasma-discover-exporter Discover::Common KF5::CoreAddons KF5::I18n) | 6 | target_link_libraries(plasma-discover-exporter Discover::Common KF5::CoreAddons KF5::I18n) | ||
6 | 7 | | |||
7 | if(MUON_INSTALL_EXPORTER) | 8 | if(MUON_INSTALL_EXPORTER) | ||
8 | install(TARGETS plasma-discover-exporter ${INSTALL_TARGETS_DEFAULT_ARGS}) | 9 | install(TARGETS plasma-discover-exporter ${INSTALL_TARGETS_DEFAULT_ARGS}) | ||
9 | endif() | 10 | endif() |