Skip to content

Commit

Permalink
Add Precompiled Python Binaries To ERS (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
datacrystals committed Apr 11, 2022
1 parent 0140eb6 commit 1ff8b43
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Third-Party/Python3.9/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

# Automatically copies python binaries to bin dir on windows
ERSBuildLogger(${Green} "Setting Up Python Libraries")
if (WIN32)

ERS_BUILD_
ERSBuildLogger(${Green} "Copying Python Embedded Library")
file(COPY "${LIB_DIR}/Python3.9/Binaries" DESTINATION "${BIN_DIR}/")

endif()
ERSBuildLogger(${BoldGreen} "Finished Copying Python Embedded Library")
else ()
ERSBuildLogger(${Purple} "Python Libraries Will Not Be Copied On Linux, Please Install Python Using Your Package Manager")
endif()

0 comments on commit 1ff8b43

Please sign in to comment.