Skip to content

Commit

Permalink
fix: cmake environment variable detection syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
myfreax authored and jmcnamara committed Dec 9, 2024
1 parent 6f2ac4a commit d2cd48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ if(MSVC)
option(USE_STATIC_MSVC_RUNTIME "Use the static runtime library" OFF)
endif()

if(DEFINED ENV{${ZLIB_ROOT}})
if(DEFINED ENV{ZLIB_ROOT})
set(ZLIB_ROOT $ENV{ZLIB_ROOT})
endif()

Expand Down

0 comments on commit d2cd48d

Please sign in to comment.