# SPDX-FileCopyrightText: 2024 Chris Rizzitello # SPDX-License-Identifier: MIT # Handle Pre install Items if(WIN32) # Configure the windows version rc file configure_file( ${CMAKE_CURRENT_LIST_DIR}/version.rc.in ${PROJECT_BINARY_DIR}/src/version.rc @ONLY ) elseif(NOT APPLE) # Install our desktop file install( FILES ${CMAKE_CURRENT_LIST_DIR}/org.deskflow.deskflow.desktop DESTINATION share/applications ) # Install our icon install( FILES ${CMAKE_CURRENT_LIST_DIR}/deskflow.png DESTINATION share/icons/hicolor/512x512/apps/ RENAME org.deskflow.deskflow.png ) endif()