CMake: Use CMAKE_CURRENT_LIST_DIR (Fix #1630)

Needed when or-tools is incorporated to a CMake super project
This commit is contained in:
Corentin Le Molgat
2020-02-07 14:21:13 +01:00
parent 660ce974a8
commit cfb408329c

View File

@@ -40,7 +40,7 @@ if(BUILD_ZLIB)
TAG
"v1.2.11"
APPLY_PATCH
"${CMAKE_CURRENT_SOURCE_DIR}/../../patches/ZLIB.patch"
"${CMAKE_CURRENT_LIST_DIR}/../../patches/ZLIB.patch"
)
endif()