Skip to content

Commit

Permalink
Somehow the DARWIN flag is not correctly set -> reverting to use of $…
Browse files Browse the repository at this point in the history
…{CMAKE_INSTALL_PREFIX} which **should** work irrepective of platform
  • Loading branch information
willend committed Jul 19, 2024
1 parent 31e70b0 commit 11aa2ec
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tools/Python/mcgui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,9 @@ if(NOT WINDOWS)
DESTINATION ${DEST_BINDIR}
)

if (NOT DARWIN)
# Install desktop entry
install(FILES "${WORK}/${FLAVOR}-${MCCODE_VERSION}-py.desktop" DESTINATION /usr/share/applications )
# Install desktop entry
install(FILES "${WORK}/${FLAVOR}-${MCCODE_VERSION}-py.desktop" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications" )

# Install icon
install(FILES "${FLAVOR}-py.png" DESTINATION /usr/share/pixmaps/)
endif()
# Install icon
install(FILES "${FLAVOR}-py.png" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/pixmaps/")
endif()

0 comments on commit 11aa2ec

Please sign in to comment.