Skip to content

Instantly share code, notes, and snippets.

@twoixter
Created June 6, 2013 03:33
Show Gist options
  • Save twoixter/5719133 to your computer and use it in GitHub Desktop.
Save twoixter/5719133 to your computer and use it in GitHub Desktop.
CMake config lines to include GTest as source un Ubuntu
add_subdirectory( /usr/src/gtest ${PROJECT_BUILD_OUTPUT}/gtest )
include_directories( "/usr/include/gtest" )
target_link_libraries( test_executable ${TEST_SOURCES} gtest gtest_main pthread )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment