mirror of
https://github.com/jmcnamara/libxlsxwriter
synced 2025-03-28 21:13:14 +00:00
fix: cmake environment variable detection syntax error
This commit is contained in:
parent
67c9faab8f
commit
f5448e6bd6
@ -144,7 +144,7 @@ if(MSVC)
|
|||||||
option(USE_STATIC_MSVC_RUNTIME "Use the static runtime library" OFF)
|
option(USE_STATIC_MSVC_RUNTIME "Use the static runtime library" OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(DEFINED ENV{${ZLIB_ROOT}})
|
if(DEFINED ENV{ZLIB_ROOT})
|
||||||
set(ZLIB_ROOT $ENV{ZLIB_ROOT})
|
set(ZLIB_ROOT $ENV{ZLIB_ROOT})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user