Skip to content

Commit

Permalink
Defaulted CMake install directory to PDAL_LIB_INSTALL_DIR (#2345)
Browse files Browse the repository at this point in the history
  • Loading branch information
psalvaggio authored and hobu committed Jan 10, 2019
1 parent d53d7ba commit 3283681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/config.cmake
@@ -1,13 +1,13 @@
set(INCLUDE_INSTALL_DIR include/ CACHE PATH "include")
set(LIB_INSTALL_DIR lib/ CACHE PATH "lib")
set(LIB_INSTALL_DIR ${PDAL_LIB_INSTALL_DIR} CACHE PATH "lib")
set(SYSCONFIG_INSTALL_DIR etc/pdal/ CACHE PATH "sysconfig")

include(CMakePackageConfigHelpers)

set(PDAL_CONFIG_INCLUDE_DIRS
"${CMAKE_INSTALL_PREFIX}/include")
set(PDAL_CONFIG_LIBRARY_DIRS
"${CMAKE_INSTALL_PREFIX}/lib")
"${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR}")

configure_package_config_file(
PDALConfig.cmake.in
Expand Down

0 comments on commit 3283681

Please sign in to comment.