aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Potashev <[email protected]>2015-09-24 13:37:29 +0300
committerAlexander Potashev <[email protected]>2015-09-24 14:06:04 +0300
commit122b7575a4ef2c26e70e17ec97eb2345c71df681 (patch)
tree181d511d4afbe42d1aa340a16784e0088d088169
parentd64e509bfbbbd59e45fe2727571e8c7c1cad6780 (diff)
Remove pkgconfig configuration
libksane is used by KDE software, thus it will be found anyway via CMake exported targets. Pkgconfig is not necessary. CCMAIL: [email protected] CCMAIL: [email protected]
-rw-r--r--CMakeLists.txt5
-rw-r--r--libksane.pc.cmake12
2 files changed, 0 insertions, 17 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9e87eb5..927fe07 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -157,10 +157,5 @@ ENDIF(WIN32 AND MSVC)
# ADD_SUBDIRECTORY(ksanetwain)
#.ENDIF (SANE_FOUND)
-IF(NOT WIN32)
- CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libksane.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/libksane.pc)
- INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libksane.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig )
-ENDIF(NOT WIN32)
-
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
diff --git a/libksane.pc.cmake b/libksane.pc.cmake
deleted file mode 100644
index 942bf4c..0000000
--- a/libksane.pc.cmake
+++ /dev/null
@@ -1,12 +0,0 @@
-prefix=${CMAKE_INSTALL_PREFIX}
-exec_prefix=${BIN_INSTALL_DIR}
-libdir=${LIB_INSTALL_DIR}
-includedir=${KF5_INCLUDE_INSTALL_DIR}
-
-Name: libksane
-Description: libksane is a C++ library for SANE interface to control flat scanners.
-URL: http://www.digikam.org
-Requires:
-Version: ${KSANE_LIB_VERSION_STRING}
-Libs: -L${LIB_INSTALL_DIR} -lksane
-Cflags: -I${KF5_INCLUDE_INSTALL_DIR}