Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:windows:mingw:win64:kmymoney5-kf576
mingw64-kmymoney5
0001-cmake-fix-bug-using-mklink-when-cross-comp...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-cmake-fix-bug-using-mklink-when-cross-compiling.txt of Package mingw64-kmymoney5
From ab0c03d31d1e1a1c2699377ad8c3ef960d21002a Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Fri, 27 Sep 2019 08:23:42 +0200 Subject: [PATCH] cmake: fix bug using mklink when cross compiling An alternative is to use 'cmake -E create_symlink' also on Windows, but this would require increasing the minimum cmake version to 3.13. See https://gitlab.kitware.com/cmake/cmake/merge_requests/2144 for more information. --- kmymoney/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmymoney/CMakeLists.txt b/kmymoney/CMakeLists.txt index b2d911efb..b6cae162c 100644 --- a/kmymoney/CMakeLists.txt +++ b/kmymoney/CMakeLists.txt @@ -168,7 +168,7 @@ target_link_libraries(kmymoney ) # create symlink to let kcoreaddons find plugins -if(WIN32) +if(WIN32 AND NOT CMAKE_CROSSCOMPILING) add_custom_command(TARGET kmymoney POST_BUILD COMMAND mklink /J kmymoney . WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/bin) -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor