Commit cfa73f69 authored by Lori A. Burns's avatar Lori A. Burns
Browse files

fix source dir

parent 6fdf5d6d
......@@ -49,7 +49,7 @@ install(
include(CMakePackageConfigHelpers)
# GNUInstallDirs "DATADIR" wrong here; CMake search path wants "share".
set(CMAKECONFIG_INSTALL_DIR "share/cmake/cerf")
configure_package_config_file(${cerf_SOURCE_DIR}/cmake/cerfConfig.cmake.in
configure_package_config_file(${PROJECT_SOURCE_DIR}/cmake/cerfConfig.cmake.in
"${CMAKE_CURRENT_BINARY_DIR}/cerfConfig.cmake"
INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR})
write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/cerfConfigVersion.cmake
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment