Skip to content

Commit

Permalink
Prepare for 0.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
eswardhinak committed Nov 18, 2024
1 parent 42b0ffd commit d0e2ff8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,20 @@ target_link_libraries(puzzledpictures PRIVATE
${OpenCV_LIBS}
)

# Installation rules
include(GNUInstallDirs)
install(TARGETS puzzledpictures
BUNDLE DESTINATION .
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

# macOS specific bundle settings
set_target_properties(puzzledpictures PROPERTIES
MACOSX_BUNDLE TRUE
MACOSX_BUNDLE_GUI_IDENTIFIER "com.yourdomain.puzzledpictures"
MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
)


qt_finalize_executable(puzzledpictures)

0 comments on commit d0e2ff8

Please sign in to comment.