Skip to content

Commit

Permalink
Another windows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rlancaste committed Mar 2, 2022
1 parent b420b8f commit d797624
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -372,12 +372,13 @@ install(TARGETS StellarSolverTester
RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}
)
else(APPLE)
if(WIN32)
else(WIN32)
#installation for Linux
#installation for Linux and Windows
install(TARGETS StellarSolverTester RUNTIME DESTINATION bin)
install(DIRECTORY tester/icons
DESTINATION ${CMAKE_INSTALL_PREFIX}/share)
if(WIN32)
else(WIN32)
#Desktop file for Linux
install(FILES tester/com.github.rlancaste.stellarsolver.desktop
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
endif(WIN32)
Expand Down

0 comments on commit d797624

Please sign in to comment.