Commit 83bde06a authored by Mccaskey, Alex's avatar Mccaskey, Alex

Fixing accidental commit of tpls/cmakelists.txt gtest modifications

Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 37b395d8
Pipeline #87377 passed with stage
in 4 minutes and 52 seconds
......@@ -30,19 +30,8 @@ endif()
if(EXATN_BUILD_TESTS)
enable_testing()
# DONT BUILD GTEST IN DEBUG
set(GTEST_BUILD_TYPE_FLIP FALSE)
if (CMAKE_BUILD_TYPE MATCHES "Debug" OR CMAKE_BUILD_TYPE MATCHES "DEBUG")
set(CMAKE_BUILD_TYPE "Release")
set(GTEST_BUILD_TYPE_FLIP TRUE)
endif()
add_subdirectory(gtest)
if (GTEST_BUILD_TYPE_FLIP)
set(CMAKE_BUILD_TYPE "DEBUG")
endif()
mark_as_advanced(BUILD_GMOCK
BUILD_GTEST
BUILD_SHARED_LIBS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment