Changeset View
Changeset View
Standalone View
Standalone View
graphics/kipi-plugins-kde4/files/extrapatch-CMakeLists.txt
Use PC_KIPI_LIBDIR to pass -L/usr/local/lib to the linker so that it can find | |||||
libkipiplugins | |||||
--- ./CMakeLists.txt.orig 2015-02-25 22:15:14.659030000 +0100 | --- ./CMakeLists.txt.orig 2015-02-25 22:15:14.659030000 +0100 | ||||
+++ ./CMakeLists.txt 2015-02-25 22:17:07.071209000 +0100 | +++ ./CMakeLists.txt 2015-02-25 22:17:07.071209000 +0100 | ||||
@@ -356,7 +356,6 @@ | @@ -391,7 +391,7 @@ if(KIPI_FOUND) | ||||
# Plugins which will be always compiled | # Plugins which will be always compiled | ||||
- add_subdirectory(common) | - add_subdirectory(common) | ||||
+ link_directories(${PC_KIPI_LIBDIR}) | |||||
add_subdirectory(timeadjust) | add_subdirectory(timeadjust) | ||||
add_subdirectory(jpeglossless) | add_subdirectory(jpeglossless) | ||||
add_subdirectory(rawconverter) | add_subdirectory(rawconverter) | ||||
@@ -468,7 +467,7 @@ | @@ -468,7 +467,7 @@ | ||||
endif() | endif() | ||||
endif() | endif() | ||||
- | - | ||||
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/common/libkipiplugins/tools/kpversion.h.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/common/libkipiplugins/kpversion.h) | + CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/common/libkipiplugins/tools/kpversion.h.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/common/libkipiplugins/kpversion.h) | ||||
else() | else() | ||||
message(STATUS "") | message(STATUS "") |