Awesome
cpm-google-test
CPM external for google test.
Usage
#include <gtest/gtest.h>
Please refer to Google's gtest documentation.
Linux Caveat
You will need to add '-pthread' to the end your target_link_libraries
call on
some linux platforms. Like so:
if (UNIX)
if (NOT APPLE)
set(PTHREADS "-pthread")
endif()
endif()
add_executable(google_test_test ${Sources})
target_link_libraries(google_test_test ${CPM_LIBRARIES} ${PTHREADS})