mirror of https://github.com/WerWolv/ImHex
build: Fix version stripping issues
This commit is contained in:
parent
a4ee590875
commit
5cbd53ae7a
|
|
@ -351,9 +351,8 @@ macro(createPackage)
|
|||
DEPENDS ${VERSIONLESS_LIBWINPTHREAD}
|
||||
)
|
||||
|
||||
# Install the generated file
|
||||
install(FILES ${VERSIONLESS_LIBWINPTHREAD}
|
||||
DESTINATION "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}"
|
||||
DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
|
|
@ -96,9 +96,8 @@ int main(int argc, char* argv[]) {
|
|||
std::filesystem::path inputPath(argv[1]);
|
||||
std::filesystem::path outputPath(argv[2]);
|
||||
|
||||
std::filesystem::copy(inputPath, outputPath);
|
||||
|
||||
try {
|
||||
std::filesystem::copy(inputPath, outputPath, std::filesystem::copy_options::overwrite_existing);
|
||||
nukeVersionResource(outputPath.c_str());
|
||||
} catch (const std::exception& e) {
|
||||
fprintf(stderr, "%s", e.what());
|
||||
|
|
|
|||
Loading…
Reference in New Issue