Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-lensfun
lens-not-fun.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lens-not-fun.diff of Package mingw64-lensfun
From: Jan Engelhardt <jengelh@inai.de> Date: 2015-07-15 15:44:46.963425433 +0200 ffs, don't install files you don't even own! And then make cmake respect -DCMAKE_INSTALL_PREFIX again. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: lensfun-0.3.1/CMakeLists.txt =================================================================== --- lensfun-0.3.1.orig/CMakeLists.txt +++ lensfun-0.3.1/CMakeLists.txt @@ -74,7 +74,7 @@ ENDIF() FIND_PACKAGE(GLIB2 REQUIRED) INCLUDE_DIRECTORIES(${GLIB2_INCLUDE_DIRS}) # install glib dll on windows next to lensfun.dll -IF (GLIB2_DLL) +IF (YOURMOM) INSTALL(FILES ${GLIB2_DLL} DESTINATION ${BINDIR}) ENDIF() @@ -86,7 +86,7 @@ IF(BUILD_DOC) SET(DOCDIR share/doc/lensfun-${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_MICRO}.${VERSION_BUGFIX} CACHE PATH "Directory to put library documentation in") ENDIF(BUILD_DOC) -IF(WIN32) +IF(YOURMOM) # install into place in build-dir SET(LENSFUN_INSTALL_PREFIX "${CMAKE_SOURCE_DIR}/install" CACHE PATH "Install prefix for lensfun") ELSE() @@ -157,7 +157,7 @@ IF(BUILD_DOC) ADD_SUBDIRECTORY(docs) ENDIF() -IF(WIN32 AND NOT BUILD_STATIC) +IF(YOURMOM) FIND_FILE(GLIB2_DLL NAMES glib-2.dll glib-2-vs9.dll PATHS "${GLIB2_BASE_DIR}/bin"
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