set (GOOGLETEST_DIR ${CMAKE_SOURCE_DIR}/3rdparty/googletest/googletest ) include_directories ( ${GOOGLETEST_DIR}/include ${CMAKE_SOURCE_DIR}/3rdparty/bx/include ) set (TEST_SRCS RenderModuleTests.cc ${GOOGLETEST_DIR}/src/gtest_main.cc ${CMAKE_SOURCE_DIR}/3rdparty/bx/src/fpumath.cpp ) add_executable ( runtests ${TEST_SRCS} ) target_link_libraries (runtests gtest )