From 66b50876865c0e7c40254bcd1e5f5be931cd6a0f Mon Sep 17 00:00:00 2001 From: Deniz Bahadir Date: Fri, 5 Apr 2024 22:37:11 +0200 Subject: [PATCH] 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 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.47.2