Skip to content

Commit e6fd069

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 457c2b8 commit e6fd069

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,14 +218,17 @@ elseif(UNITS_ENABLE_TESTS AND NOT CMAKE_VERSION VERSION_LESS 3.13)
218218
if(UNITS_BUILD_GTEST)
219219
if(NOT EXISTS "${PROJECT_SOURCE_DIR}/ThirdParty/googletest/CMakeLists.txt")
220220
include(updateGitSubmodules)
221-
if(UNITS_ENABLE_SUBMODULE_UPDATE)
221+
if(UNITS_ENABLE_SUBMODULE_UPDATE)
222222
submod_update(ThirdParty/googletest)
223223
else()
224224
include(FindPkgConfig)
225225
find_package(GTest REQUIRED)
226226
pkg_check_modules(GMock gmock REQUIRED)
227227
if(NOT GTest_FOUND)
228-
message(ERROR "GTest not found, and submodule not found and unable to update install gtest or enable submodule updating to build a local copy of gtest")
228+
message(
229+
ERROR
230+
"GTest not found, and submodule not found and unable to update install gtest or enable submodule updating to build a local copy of gtest"
231+
)
229232
endif()
230233
endif()
231234
endif()

0 commit comments

Comments
 (0)