Commit 27c0c9ef authored by Andreas Schuh's avatar Andreas Schuh

Merge pull request #4 from daniperez/cmake-migration

Exporting binary tree to CMake registry
parents 667c52be 459e5291
......@@ -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)
# ----------------------------------------------------------------------------
......
Markdown is supported
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