Commit 93c37d59 by Billy Donahue

Merge pull request #632 from nocnokneo/add-cmake-install-rules

Add CMake install rules for gtest libraries and headers
parents 884dd08d 98d988de
...@@ -93,6 +93,14 @@ target_link_libraries(gtest_main gtest) ...@@ -93,6 +93,14 @@ target_link_libraries(gtest_main gtest)
######################################################################## ########################################################################
# #
# Install rules
install(TARGETS gtest gtest_main
DESTINATION lib)
install(DIRECTORY ${gtest_SOURCE_DIR}/include/gtest
DESTINATION include)
########################################################################
#
# Samples on how to link user tests with gtest or gtest_main. # Samples on how to link user tests with gtest or gtest_main.
# #
# They are not built by default. To build them, set the # They are not built by default. To build them, set the
......
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