We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 154f891 commit 5b9ee3aCopy full SHA for 5b9ee3a
CMakeLists.txt
@@ -600,6 +600,7 @@ else()
600
endif()
601
602
set(JANSSON_INSTALL_CMAKE_DIR ${DEF_INSTALL_CMAKE_DIR} CACHE PATH "Installation directory for CMake files")
603
+set(JANSSON_INSTALL_PKGCONF_DIR ${DEF_INSTALL_PKGCONF_DIR} CACHE PATH "Installation directory for pkg-config files")
604
605
# Create pkg-conf file.
606
# (We use the same files as ./configure does, so we
@@ -658,7 +659,7 @@ if (JANSSON_INSTALL)
658
659
# Install the pkg-config.
660
install(FILES
661
${CMAKE_CURRENT_BINARY_DIR}/jansson.pc
- DESTINATION lib/pkgconfig)
662
+ DESTINATION ${JANSSON_INSTALL_PKGCONF_DIR})
663
664
# Install the configs.
665
0 commit comments