From 59f779f6ba07c25da3c564531c153ec834bca7ab Mon Sep 17 00:00:00 2001 From: Amrik Sadhra Date: Wed, 21 Jan 2026 18:25:08 +0000 Subject: [PATCH] CMake automatically expands variables in if() commands --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d78c906..e5bb5cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -117,7 +117,7 @@ else() endif() # OS Specific dependencies -if (APPLE AND ${CMAKE_SYSTEM_VERSION} VERSION_LESS "25.0.0") +if (APPLE AND CMAKE_SYSTEM_VERSION VERSION_LESS "25.0.0") find_library(AGL_LIBRARY AGL REQUIRED) list(APPEND LIBRARIES ${AGL_LIBRARY}) elseif(NOT WIN32)