Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
Usgscsm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aflab
astrogeology
Usgscsm
Commits
3db6e108
Unverified
Commit
3db6e108
authored
6 years ago
by
Kelvin Rodriguez
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #197 from jlaura/dev
Further isolates gtest
parents
707785af
7d83560f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+3
-2
3 additions, 2 deletions
CMakeLists.txt
with
3 additions
and
2 deletions
CMakeLists.txt
+
3
−
2
View file @
3db6e108
cmake_minimum_required
(
VERSION 3.10
)
cmake_minimum_required
(
VERSION 3.10
)
project
(
usgscsm VERSION 0.0.1 DESCRIPTION
"usgscsm library"
)
project
(
usgscsm VERSION 0.0.1 DESCRIPTION
"usgscsm library"
)
include
(
GoogleTest
)
include
(
cmake/gtest.cmake
)
include
(
GNUInstallDirs
)
include
(
GNUInstallDirs
)
set
(
CMAKE_CXX_STANDARD 11
)
set
(
CMAKE_CXX_STANDARD 11
)
...
@@ -59,6 +57,9 @@ install(DIRECTORY ${USGSCSM_INCLUDE_DIRS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR
...
@@ -59,6 +57,9 @@ install(DIRECTORY ${USGSCSM_INCLUDE_DIRS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR
option
(
BUILD_TESTS
"Build tests"
ON
)
option
(
BUILD_TESTS
"Build tests"
ON
)
if
(
BUILD_TESTS
)
if
(
BUILD_TESTS
)
include
(
GoogleTest
)
include
(
cmake/gtest.cmake
)
# Setup for GoogleTest
# Setup for GoogleTest
find_package
(
Threads
)
find_package
(
Threads
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment