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
73cc6615
Commit
73cc6615
authored
2 years ago
by
Anna Wellmann
Browse files
Options
Downloads
Patches
Plain Diff
Revert some changes in the CMakeList
parent
e084c824
No related branches found
No related tags found
1 merge request
!163
Switch to new version of Googletest
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
3rdParty/googletest/CMakeLists.txt
+19
-6
19 additions, 6 deletions
3rdParty/googletest/CMakeLists.txt
with
19 additions
and
6 deletions
3rdParty/googletest/CMakeLists.txt
+
19
−
6
View file @
73cc6615
...
...
@@ -14,6 +14,14 @@ endif (POLICY CMP0077)
project
(
googletest-distribution
)
set
(
GOOGLETEST_VERSION 1.12.1
)
##########################################################
# Enable MACOSX_RPATH support for gtest and gmock
# to avoid CMP0042 warnings
IF
(
APPLE
)
SET
(
CMAKE_MACOSX_RPATH 1
)
ENDIF
()
##########################################################
if
(
NOT CYGWIN AND NOT MSYS AND NOT
${
CMAKE_SYSTEM_NAME
}
STREQUAL QNX
)
set
(
CMAKE_CXX_EXTENSIONS OFF
)
endif
()
...
...
@@ -24,11 +32,16 @@ include(CMakeDependentOption)
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.)"
ON
)
#
option(BUILD_GMOCK "Builds the googlemock subproject" ON)
#
option(INSTALL_GTEST "Enable installation of googletest. (Projects embedding googletest may want to turn this OFF.)" ON)
if
(
BUILD_GMOCK
)
#
if(BUILD_GMOCK)
add_subdirectory
(
googlemock
)
else
()
add_subdirectory
(
googletest
)
endif
()
#else()
# add_subdirectory( googletest )
#endif()
groupTarget
(
gmock
${
thirdFolder
}
/googletest
)
groupTarget
(
gmock_main
${
thirdFolder
}
/googletest
)
groupTarget
(
gtest
${
thirdFolder
}
/googletest
)
groupTarget
(
gtest_main
${
thirdFolder
}
/googletest
)
\ No newline at end of file
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