Fixed include gtest on nonstanndard gtest install

This commit is contained in:
Stephen Seo 2016-04-11 14:59:56 +09:00
parent 2a11d1e86c
commit b2355248be

View file

@ -61,6 +61,7 @@ if(GTEST_FOUND)
add_executable(UnitTests ${UnitTests_SOURCES})
target_link_libraries(UnitTests EntityComponentSystem ${GTEST_LIBRARIES})
target_include_directories(UnitTests PUBLIC ${GTEST_INCLUDE_DIR})
enable_testing()
add_test(NAME UnitTests COMMAND UnitTests)