Skip to content
Snippets Groups Projects
Commit 7d83560f authored by Jay's avatar Jay
Browse files

Further isolates gtest

parent 707785af
No related branches found
No related tags found
No related merge requests found
cmake_minimum_required(VERSION 3.10)
project(usgscsm VERSION 0.0.1 DESCRIPTION "usgscsm library")
include(GoogleTest)
include(cmake/gtest.cmake)
include(GNUInstallDirs)
set(CMAKE_CXX_STANDARD 11)
......@@ -59,6 +57,9 @@ install(DIRECTORY ${USGSCSM_INCLUDE_DIRS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR
option (BUILD_TESTS "Build tests" ON)
if(BUILD_TESTS)
include(GoogleTest)
include(cmake/gtest.cmake)
# Setup for GoogleTest
find_package (Threads)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment