Skip to content

Commit

Permalink
preparing 1.4 release, FIX CMakeLists.txt files
Browse files Browse the repository at this point in the history
  • Loading branch information
ctlcltd committed Apr 26, 2024
1 parent 5aa5410 commit d9cf22f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -206,19 +206,19 @@ if(UNIX AND NOT APPLE)
DESTINATION ${CMAKE_INSTALL_DATADIR}/e2-sat-editor
FILES_MATCHING PATTERN "*.qm")

install(FILES "Readme.txt"
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/Readme.txt"
DESTINATION ${CMAKE_INSTALL_DATADIR}/e2-sat-editor)
install(FILES "License.txt"
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/License.txt"
DESTINATION ${CMAKE_INSTALL_DATADIR}/e2-sat-editor)
elseif(APPLE)
install(FILES "Readme.txt"
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/Readme.txt"
DESTINATION .)
install(FILES "License.txt"
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/License.txt"
DESTINATION .)
else()
install(FILES "Readme.txt"
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/Readme.txt"
DESTINATION bin)
install(FILES "License.txt"
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/License.txt"
DESTINATION bin)
endif()

Expand Down
12 changes: 6 additions & 6 deletions src/cli/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,18 @@ configure_file("../COPYING" "License.txt" @ONLY NEWLINE_STYLE ${NEWLINE})
if(UNIX AND NOT APPLE)
include(GNUInstallDirs)

install(FILES "Readme.txt"
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/Readme.txt"
DESTINATION ${CMAKE_INSTALL_DATADIR}/e2se-cli)
install(FILES "License.txt"
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/License.txt"
DESTINATION ${CMAKE_INSTALL_DATADIR}/e2se-cli)
elseif(APPLE)
install(FILES "Readme.txt"
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/Readme.txt"
DESTINATION .)
install(FILES "License.txt"
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/License.txt"
DESTINATION .)
else()
install(FILES "Readme.txt"
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/Readme.txt"
DESTINATION bin)
install(FILES "License.txt"
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/License.txt"
DESTINATION bin)
endif()

0 comments on commit d9cf22f

Please sign in to comment.