Skip to content

Commit

Permalink
install python script or executable with execute permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
jmkerloch committed Dec 17, 2020
1 parent c62ed1a commit bdcd504
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@ if (PYINSTALLER)

#code is executed in CMAKE_BINARY_DIR
install(DIRECTORY ${CMAKE_BINARY_DIR}/dist/
DESTINATION xpansion-launcher)
DESTINATION xpansion-launcher
USE_SOURCE_PERMISSIONS)
else ()

message(STATUS "PyInstaller was not found : python scripts are use for install target")
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src_python/" DESTINATION xpansion-launcher)

install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src_python/"
DESTINATION xpansion-launcher
USE_SOURCE_PERMISSIONS)

endif()

0 comments on commit bdcd504

Please sign in to comment.