]> OCCT Git - occt.git/commit
Configuration - Validate the configuration on CMake 3.10 and later (#762)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Sat, 25 Oct 2025 14:49:04 +0000 (15:49 +0100)
committerGitHub <noreply@github.com>
Sat, 25 Oct 2025 14:49:04 +0000 (15:49 +0100)
commit190c90c856fe6f9ec5f3c4ca3f7deae6189a1571
treeb57a3827e1f7de4f248095708637b338975fb2f3
parent7d89343b9b2fc12c78fdde95171629dab0b194cd
Configuration - Validate the configuration on CMake 3.10 and later (#762)

- adm/cmake/gtest.cmake: check CMake version before using FetchContent; emit a warning and skip FetchContent-based GoogleTest setup when CMake < 3.11.
- adm/cmake/occt_macros.cmake: wrap list(REMOVE_DUPLICATES ...) calls in if() checks to avoid operating on empty/unset variables.
adm/cmake/gtest.cmake
adm/cmake/occt_macros.cmake