Properly handle path with spaces (#228)
This commit is contained in:
parent
3aea6a98ef
commit
5a230efd2b
|
@ -10,7 +10,7 @@ if (NOT zlib_POPULATED)
|
||||||
FetchContent_Populate(zlib)
|
FetchContent_Populate(zlib)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(${zlib_SOURCE_DIR} ${zlib_BINARY_DIR} EXCLUDE_FROM_ALL)
|
add_subdirectory("${zlib_SOURCE_DIR}" "${zlib_BINARY_DIR}" EXCLUDE_FROM_ALL)
|
||||||
|
|
||||||
set(ZLIB_LIBRARIES zlibstatic PARENT_SCOPE)
|
set(ZLIB_LIBRARIES "zlibstatic" PARENT_SCOPE)
|
||||||
set(ZLIB_INCLUDE_DIRS ${zlib_SOURCE_DIR} ${zlib_BINARY_DIR} PARENT_SCOPE)
|
set(ZLIB_INCLUDE_DIRS "${zlib_SOURCE_DIR}" "${zlib_BINARY_DIR}" PARENT_SCOPE)
|
||||||
|
|
Loading…
Reference in New Issue