Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:windows:mingw:win32
mingw32-kdelibs4
0001-Add-cross-compile-support-for-icemaker.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Add-cross-compile-support-for-icemaker.patch of Package mingw32-kdelibs4
From 7e1ceabb6273d915caf621bb50169d02c70c003b Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@sag.eu> Date: Mon, 20 Jul 2015 10:47:24 +0200 Subject: [PATCH] Add cross compile support for icemaker --- kjs/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/kjs/CMakeLists.txt b/kjs/CMakeLists.txt index 48f5231..df8eabc 100644 --- a/kjs/CMakeLists.txt +++ b/kjs/CMakeLists.txt @@ -103,12 +103,16 @@ endif(PCRE_FOUND AND NOT KJS_FORCE_DISABLE_PCRE) ) kde4_add_executable(icemaker NOGUI ${icemaker_SRCS}) - # get the name of the generated wrapper script (which sets up LD_LIBRARY_PATH) - get_target_property(ICEMAKER_EXECUTABLE icemaker WRAPPER_SCRIPT) # export(TARGETS icemaker FILE ${CMAKE_BINARY_DIR}/ImportIcemakerExecutable.cmake) # endif (CMAKE_CROSSCOMPILING) +if (NOT CMAKE_CROSSCOMPILING) + # get the name of the generated wrapper script (which sets up LD_LIBRARY_PATH) + get_target_property(ICEMAKER_EXECUTABLE icemaker WRAPPER_SCRIPT) + install(TARGETS icemaker ${INSTALL_TARGETS_DEFAULT_ARGS}) +endif() + # and the custom command add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/opcodes.h ${CMAKE_CURRENT_BINARY_DIR}/opcodes.cpp ${CMAKE_CURRENT_BINARY_DIR}/machine.cpp -- 1.8.4.5
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