Skip to content

Commit

Permalink
Merge pull request #2 from ruslo/config-install
Browse files Browse the repository at this point in the history
Use search-friendly install prefix for config
  • Loading branch information
alamaison committed Nov 27, 2014
2 parents e10e5ab + f614d6f commit 523c50a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ endif()

## During package installation, install CometConfig.cmake
install(TARGETS comet EXPORT CometConfig)
install(EXPORT CometConfig NAMESPACE Comet:: DESTINATION lib)
install(EXPORT CometConfig NAMESPACE Comet:: DESTINATION lib/cmake/Comet)

## Directly from build tree
# create CometConfig.cmake
Expand All @@ -138,4 +138,4 @@ write_basic_package_version_file(
COMPATIBILITY SameMajorVersion)
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/CometConfigVersion.cmake
DESTINATION lib)
DESTINATION lib/cmake/Comet)

0 comments on commit 523c50a

Please sign in to comment.