summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schuh <andreas.schuh.84@gmail.com>2013-11-04 16:56:31 -0800
committerAndreas Schuh <andreas.schuh.84@gmail.com>2013-11-04 16:56:31 -0800
commit27c0c9ef791f0aa9baf038bedf04ee503bbd0477 (patch)
tree30eb5e87a2426ef6e1ac3af780659daead56bf1e
parent667c52be590bff9d56965fb48d2a8adba7991419 (diff)
parent459e5291687b391cb19c423ce9bd2039621edae8 (diff)
downloadgflags-27c0c9ef791f0aa9baf038bedf04ee503bbd0477.tar.gz
gflags-27c0c9ef791f0aa9baf038bedf04ee503bbd0477.tar.bz2
gflags-27c0c9ef791f0aa9baf038bedf04ee503bbd0477.zip
Merge pull request #4 from daniperez/cmake-migration
Exporting binary tree to CMake registry
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 503d83e..616d9f3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)
# ----------------------------------------------------------------------------