Skip to content
Snippets Groups Projects
Commit 2e39341d authored by Lars Bilke's avatar Lars Bilke Committed by Dmitri Naumov
Browse files

[cpm] Build gtest statically.

Fixes macOS rpath issue.
parent 734afc26
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ if(OGS_BUILD_TESTING) ...@@ -20,6 +20,7 @@ if(OGS_BUILD_TESTING)
GITHUB_REPOSITORY google/googletest GITHUB_REPOSITORY google/googletest
GIT_TAG 389cb68b87193358358ae87cc56d257fd0d80189 GIT_TAG 389cb68b87193358358ae87cc56d257fd0d80189
OPTIONS "INSTALL_GTEST OFF" "gtest_force_shared_crt ON" OPTIONS "INSTALL_GTEST OFF" "gtest_force_shared_crt ON"
"BUILD_SHARED_LIBS OFF"
EXCLUDE_FROM_ALL YES EXCLUDE_FROM_ALL YES
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment