Commit a545bfad authored by Victor Lamoine's avatar Victor Lamoine

Improve CMakeLists.txt

parent 8813dfbd
Pipeline #172476175 canceled with stage
in 1 minute and 18 seconds
......@@ -95,33 +95,17 @@ install(
${CATKIN_PACKAGE_BIN_DESTINATION}
)
# Configure / install desktop launchers
if(DEFINED DESKTOP_APP_SUFFIX)
configure_file(
desktop/${PROJECT_NAME}.desktop.in
desktop/${PROJECT_NAME}_local.desktop
)
else()
configure_file(
desktop/${PROJECT_NAME}.desktop.in
desktop/${PROJECT_NAME}.desktop
)
endif()
if(DEFINED DESKTOP_APP_SUFFIX)
install(
FILES
${CMAKE_CURRENT_BINARY_DIR}/desktop/${PROJECT_NAME}_local.desktop
DESTINATION
${DESKTOP_APP_DIR}
)
else()
install(
FILES
${CMAKE_CURRENT_BINARY_DIR}/desktop/${PROJECT_NAME}.desktop
DESTINATION
${DESKTOP_APP_DIR}
)
endif()
# Configure / install desktop launcher
configure_file(
desktop/${PROJECT_NAME}.desktop.in
desktop/${PROJECT_NAME}.desktop
)
install(
FILES
${CMAKE_CURRENT_BINARY_DIR}/desktop/${PROJECT_NAME}.desktop
DESTINATION
${DESKTOP_APP_DIR}
)
# Install icon
install(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment