Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
laser_scan_utils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
labrobotica
algorithms
laser_scan_utils
Merge requests
!8
Cmake refactoring was merged to main, merge back to devel also
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Cmake refactoring was merged to main, merge back to devel also
main
into
devel
Overview
0
Commits
26
Pipelines
1
Changes
1
Merged
Mederic Fourmy
requested to merge
main
into
devel
3 years ago
Overview
0
Commits
26
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Viewing commit
5b45afcb
Prev
Next
Show latest version
1 file
+
2
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
5b45afcb
[skip ci] cmake doc
· 5b45afcb
Joan Vallvé Navarro
authored
3 years ago
test/gtest/CMakeLists.txt
+
2
−
9
Options
@@ -5,15 +5,7 @@ if(${CMAKE_VERSION} VERSION_LESS "3.11.0")
include
(
ExternalProject
)
set
(
GTEST_FORCE_SHARED_CRT ON
)
set
(
GTEST_DISABLE_PTHREADS ON
)
# For some reason I need to disable PTHREADS
# with g++ (Ubuntu 4.9.3-8ubuntu2~14.04) 4.9.3
# This is a known issue for MinGW :
# https://github.com/google/shaderc/pull/174
#if(MINGW)
# set(GTEST_DISABLE_PTHREADS ON)
#endif()
set
(
GTEST_DISABLE_PTHREADS ON
)
# without this in ubuntu 18.04 we get linking errors
# Download GoogleTest
ExternalProject_Add
(
googletest
@@ -64,6 +56,7 @@ else()
GIT_TAG main
)
#FetchContent_MakeAvailable(googletest)
# Disable installation of googletest: https://stackoverflow.com/questions/65527126/disable-install-for-fetchcontent
FetchContent_GetProperties
(
googletest
)
if
(
NOT googletest_POPULATED
)
FetchContent_Populate
(
googletest
)
Loading