Skip to content

Commit f72df04

Browse files
committed
try different name in variable
1 parent 920c68a commit f72df04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ 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(${PROJECT_NAME}_ENABLE_SUBMODULE_UPDATE)
221+
if(${UNITS_CMAKE_PROJECT_NAME}_ENABLE_SUBMODULE_UPDATE)
222222
submod_update(ThirdParty/googletest)
223223
else()
224224
include(FindPkgConfig)

0 commit comments

Comments
 (0)