build: Properly escape paths which may contain spaces

This commit is contained in:
Henrik S. Gaßmann
2023-05-29 15:40:06 +02:00
committed by Arthur Sonzogni
parent 3e5322944d
commit 8bea9261bc
4 changed files with 15 additions and 15 deletions

View File

@@ -27,7 +27,7 @@ set(BUILD_GMOCK OFF CACHE INTERNAL "")
set(INSTALL_GTEST OFF CACHE INTERNAL "")
set(gtest_force_shared_crt ON CACHE INTERNAL "")
add_subdirectory(
${googletest_SOURCE_DIR}
${googletest_BINARY_DIR}
"${googletest_SOURCE_DIR}"
"${googletest_BINARY_DIR}"
EXCLUDE_FROM_ALL
)