Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VirtualFluids
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
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
iRMB
VirtualFluids
Commits
b2d0181c
Commit
b2d0181c
authored
4 years ago
by
Soeren Peters
Browse files
Options
Downloads
Patches
Plain Diff
Supress gtest rpath warning and remove install option.
parent
a1632e4f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
3rdParty/googletest/CMakeLists.txt
+9
-1
9 additions, 1 deletion
3rdParty/googletest/CMakeLists.txt
with
9 additions
and
1 deletion
3rdParty/googletest/CMakeLists.txt
+
9
−
1
View file @
b2d0181c
...
...
@@ -10,6 +10,14 @@ endif (POLICY CMP0048)
project
(
googletest-distribution
)
set
(
GOOGLETEST_VERSION 1.10.0
)
##########################################################
# Enable MACOSX_RPATH support for gtest and gmock
# to avoid CMP0042 warnings
IF
(
APPLE
)
SET
(
CMAKE_MACOSX_RPATH 1
)
ENDIF
()
##########################################################
if
(
CMAKE_VERSION VERSION_LESS
"3.1"
)
add_definitions
(
-std=c++11
)
else
()
...
...
@@ -27,7 +35,7 @@ include(GNUInstallDirs)
#Note that googlemock target already builds googletest
#option(BUILD_GMOCK "Builds the googlemock subproject" ON)
option
(
INSTALL_GTEST
"Enable installation of googletest. (Projects embedding googletest may want to turn this OFF.)"
OFF
)
#
option(INSTALL_GTEST "Enable installation of googletest. (Projects embedding googletest may want to turn this OFF.)" OFF)
#if(BUILD_GMOCK)
add_subdirectory
(
googlemock
)
...
...
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