Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #203 from sebastic/pkgconfig-install-path
Fix pkgconfig install path (<prefix>/share/ -> <prefix>/lib/pkgconfig/)
  • Loading branch information
rashadkm committed Aug 2, 2015
2 parents e73fa2c + 81a0954 commit 8ba168a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Expand Up @@ -52,6 +52,9 @@ endif(NOT DEFINED LOCALE_INSTALL_DIR)
if(NOT DEFINED JAVA_INSTALL_DIR)
set(JAVA_INSTALL_DIR "${DATA_INSTALL_DIR}/java")
endif(NOT DEFINED JAVA_INSTALL_DIR)
if(NOT DEFINED PKGCONFIG_INSTALL_DIR)
set(PKGCONFIG_INSTALL_DIR "${LIB_INSTALL_DIR}/pkgconfig")
endif(NOT DEFINED PKGCONFIG_INSTALL_DIR)

# Path to additional CMake modules
set(CMAKE_MODULE_PATH
Expand Down Expand Up @@ -131,7 +134,7 @@ configure_file("${CMAKE_SOURCE_DIR}/cmake/libkml.pc.in"
"${CMAKE_BINARY_DIR}/libkml.pc" @ONLY)

install(FILES ${CMAKE_BINARY_DIR}/libkml.pc
DESTINATION ${DATA_INSTALL_DIR})
DESTINATION ${PKGCONFIG_INSTALL_DIR})

if(BUILD_TESTING)
enable_testing()
Expand Down

0 comments on commit 8ba168a

Please sign in to comment.