Skip to content

Commit

Permalink
rename ZAPD to ZAPD.out for compatibility with OTRGui
Browse files Browse the repository at this point in the history
  • Loading branch information
th-2021 committed Jun 4, 2022
1 parent 7dbff0a commit 2763c68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion BUILDING-cmake.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ git clone https://github.com/Perlmint/glew-cmake.git external/glew
cd OTRExporter
# change the path to ZAPD in extract_assets.py
sed "s%../ZAPDTR/ZAPD.out%build-cmake/ZAPD/ZAPD%" < extract_assets.py > extract_assets_cmake.py
sed "s%../ZAPDTR/ZAPD.out%build-cmake/ZAPD/ZAPD.out%" < extract_assets.py > extract_assets_cmake.py
chmod +x extract_assets_cmake.py
cmake -S . -B build-cmake
Expand Down
4 changes: 4 additions & 0 deletions ZAPDTR/ZAPD/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,10 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
INTERPROCEDURAL_OPTIMIZATION_RELEASE "TRUE"
)
endif()
else()
set_target_properties(${PROJECT_NAME} PROPERTIES
OUTPUT_NAME "ZAPD.out"
)
endif()
################################################################################
# MSVC runtime library
Expand Down

0 comments on commit 2763c68

Please sign in to comment.