Skip to content
Snippets Groups Projects
Commit 0f3758bd authored by Pere Mato Vila's avatar Pere Mato Vila
Browse files

Use hardcode 'Release' for gtest

parent 37e71df6
No related branches found
No related tags found
1 merge request!514G(oogle)Test Not built with optimised/debug flags
Pipeline #1958683 passed
......@@ -1090,7 +1090,7 @@ LCGPackage_Add(
gtest
URL ${GenURL}/googletest-release-${gtest_native_version}.tar.gz
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DCMAKE_BUILD_TYPE=Release # hardcode Release here for now. Need an unreleased CMake version see https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4950
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
-Dgtest_build_samples=ON
......
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