Unverified Commit ef807f4b by John Kessenich Committed by GitHub

Merge pull request #1746 from karl-lunarg/gtest-install

build: Don't ship GTEST headers in install target
parents e0d59bbe 1d1fd885
...@@ -10,7 +10,8 @@ if(BUILD_TESTING) ...@@ -10,7 +10,8 @@ if(BUILD_TESTING)
if(WIN32) if(WIN32)
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
endif(WIN32) endif(WIN32)
add_subdirectory(googletest) # EXCLUDE_FROM_ALL keeps the install target from installing GTEST files.
add_subdirectory(googletest EXCLUDE_FROM_ALL)
set(GTEST_TARGETS set(GTEST_TARGETS
gtest gtest
gtest_main gtest_main
......
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