protot/tests/CMakeLists.txt

20 lines
310 B
CMake
Raw Permalink Normal View History

set (GOOGLETEST_DIR
${CMAKE_SOURCE_DIR}/3rdparty/googletest/googletest
)
include_directories (
${GOOGLETEST_DIR}/include
)
set (TEST_SRCS
2018-02-12 21:35:44 +01:00
# RenderModuleTests.cc
${GOOGLETEST_DIR}/src/gtest_main.cc
)
add_executable ( runtests ${TEST_SRCS} )
target_link_libraries (runtests
${CMAKE_DL_LIBS}
gtest
)