From: Deniz Bahadir Date: Fri, 5 Apr 2024 20:37:11 +0000 (+0200) Subject: CMake: Replace ';' by '$' in generator-expression X-Git-Tag: 2.2.0~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66b50876865c0e7c40254bcd1e5f5be931cd6a0f;p=thirdparty%2Fzlib-ng.git CMake: Replace ';' by '$' in generator-expression Note: CMake generator-expressions should not contain semicolons, especially if they might end up in a CMake list, because a semicolon would be interpreted as list-item separator and therefore render the generator-expression invalid. The generator-expression `$` should be used instead. Signed-off-by: Deniz Bahadir --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 56654bf0..dda0f7b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1170,7 +1170,7 @@ foreach(ZLIB_INSTALL_LIBRARY ${ZLIB_INSTALL_LIBRARIES}) target_compile_definitions(${ZLIB_INSTALL_LIBRARY} PUBLIC ZLIBNG_NATIVE_API) endif() target_include_directories(${ZLIB_INSTALL_LIBRARY} PUBLIC - "$" + "$${CMAKE_CURRENT_SOURCE_DIR}>" "$") endforeach()