Skip to content

Commit 2a0b135

Browse files
authored
Merge pull request #756 from Ericzklm/main
Fix compile and build issues on Mac
2 parents c63e779 + 2b09460 commit 2a0b135

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

SerialPrograms/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@ else()
5757
endif()
5858

5959
if(PACKAGE_BUILD)
60-
set(DEST_DIR "$<TARGET_FILE_DIR:SerialPrograms>/Output")
60+
if(APPLE)
61+
set(DEST_DIR "$<TARGET_FILE_DIR:SerialPrograms>/../")
62+
else()
63+
set(DEST_DIR "$<TARGET_FILE_DIR:SerialPrograms>/Output")
64+
endif()
6165
set(DEPLOY_DIR "${DEST_DIR}/Binaries64")
6266
else()
6367
set(DEST_DIR "$<TARGET_FILE_DIR:SerialPrograms>")

0 commit comments

Comments
 (0)