Skip to content

Commit

Permalink
Fixed MSI build
Browse files Browse the repository at this point in the history
  • Loading branch information
mfep committed Jan 7, 2023
1 parent 31aeae4 commit 4aaee8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ target_compile_definitions(midiconn PRIVATE

set(CPACK_PACKAGE_NAME "midiconn")
set(CPACK_PACKAGE_VENDOR "safeworlds")
set(CPACK_PACKAGE_CONTACT "Lőrinc Serfőző <[email protected]>")
if(WIN32)
set(CMAKE_INSTALL_BINDIR ".")
set(CPACK_PACKAGE_INSTALL_DIRECTORY "midiconn")
Expand All @@ -116,6 +115,7 @@ if(WIN32)
)
target_link_options(midiconn PRIVATE "/SUBSYSTEM:WINDOWS")
else()
set(CPACK_PACKAGE_CONTACT "Lőrinc Serfőző <[email protected]>")
install(FILES "graphics/mc_logo.svg"
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps/"
RENAME "xyz.safeworlds.midiconn.svg")
Expand Down

0 comments on commit 4aaee8e

Please sign in to comment.