updated build system
Some checks are pending
BlockStorage/repertory/pipeline/head Build queued...

This commit is contained in:
Scott E. Graves 2024-07-24 19:35:43 -05:00
parent be76d663b5
commit aff308f67d

View File

@ -1,7 +1,7 @@
if(NOT PROJECT_BUILD AND PROJECT_ENABLE_TESTING)
add_definitions(-DPROJECT_ENABLE_TESTING)
if(NOT PROJECT_IS_MINGW OR CMAKE_HOST_WIN32)
if (PROJECT_ENABLE_TESTING)
if(PROJECT_BUILD)
add_definitions(-DPROJECT_ENABLE_TESTING)
elseif(NOT PROJECT_IS_MINGW OR CMAKE_HOST_WIN32)
ExternalProject_Add(gtest_project
PREFIX external
URL ${PROJECT_3RD_PARTY_DIR}/googletest-${GTEST_VERSION}.tar.gz