Fixed include gtest on nonstanndard gtest install
This commit is contained in:
parent
2a11d1e86c
commit
b2355248be
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ if(GTEST_FOUND)
|
||||||
|
|
||||||
add_executable(UnitTests ${UnitTests_SOURCES})
|
add_executable(UnitTests ${UnitTests_SOURCES})
|
||||||
target_link_libraries(UnitTests EntityComponentSystem ${GTEST_LIBRARIES})
|
target_link_libraries(UnitTests EntityComponentSystem ${GTEST_LIBRARIES})
|
||||||
|
target_include_directories(UnitTests PUBLIC ${GTEST_INCLUDE_DIR})
|
||||||
|
|
||||||
enable_testing()
|
enable_testing()
|
||||||
add_test(NAME UnitTests COMMAND UnitTests)
|
add_test(NAME UnitTests COMMAND UnitTests)
|
||||||
|
|
Loading…
Reference in a new issue