Skip to content

Commit

Permalink
[publish] fix bundling ShowMySky library for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-w committed Oct 27, 2022
1 parent e1068a3 commit 8f0040f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -926,12 +926,8 @@ IF(WIN32)
ELSE()
SET(ISS_SPOUT "; Spout support is disabled")
ENDIF(ENABLE_SPOUT)
IF(ENABLE_SHOWMYSKY)
IF(ShowMySky-Qt${QT_VERSION_MAJOR}_ADDED)
SET(ISS_STELLARIUM_STUFF "${ISS_STELLARIUM_STUFF}\nSource: \"${CMAKE_INSTALL_PREFIX}\\lib\\*.dll\"; DestDir: \"{app}\"; Flags: ignoreversion")
ELSE()
SET(ISS_STELLARIUM_STUFF "${ISS_STELLARIUM_STUFF}\nSource: \"${ShowMySky_LIBRARY}\"; DestDir: \"{app}\"; Flags: ignoreversion")
ENDIF()
IF(ENABLE_SHOWMYSKY AND NOT ShowMySky-Qt${QT_VERSION_MAJOR}_ADDED)
SET(ISS_STELLARIUM_STUFF "${ISS_STELLARIUM_STUFF}\nSource: \"${ShowMySky_LIBRARY}\"; DestDir: \"{app}\"; Flags: ignoreversion")
ENDIF()
ENDIF(WIN32)

Expand Down

0 comments on commit 8f0040f

Please sign in to comment.