mirror of
https://github.com/gflags/gflags.git
synced 2025-04-05 05:25:04 +00:00
Merge pull request #4 from daniperez/cmake-migration
Exporting binary tree to CMake registry
This commit is contained in:
commit
27c0c9ef79
1 changed files with 1 additions and 0 deletions
|
@ -179,6 +179,7 @@ endif ()
|
|||
# support direct use of build tree
|
||||
set (INSTALL_PREFIX_REL2CONFIG_DIR .)
|
||||
export (TARGETS gflags gflags_nothreads FILE "${PROJECT_BINARY_DIR}/${PACKAGE_NAME}-export.cmake")
|
||||
export (PACKAGE gflags)
|
||||
configure_file (cmake/config.cmake.in "${PROJECT_BINARY_DIR}/${PACKAGE_NAME}-config.cmake" @ONLY)
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue