-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Precompiled Python Binaries To ERS (#147)
- Loading branch information
1 parent
0140eb6
commit 1ff8b43
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |