From b0db61efe1a1710a5101d232d9eedffd409f78da Mon Sep 17 00:00:00 2001 From: Todor Prokopov Date: Mon, 19 Dec 2022 18:35:16 +0200 Subject: [PATCH] Fix exported target include directories --- backend/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/CMakeLists.txt b/backend/CMakeLists.txt index 133abefd..a95f620c 100644 --- a/backend/CMakeLists.txt +++ b/backend/CMakeLists.txt @@ -46,12 +46,12 @@ function(zint_target_compile_definitions scope definition) endif() endfunction() -function(zint_target_include_directories scope directory) +function(zint_target_include_directories) if(ZINT_SHARED) - target_include_directories(zint ${scope} ${directory}) + target_include_directories(zint ${ARGN}) endif() if(ZINT_STATIC) - target_include_directories(zint-static ${scope} ${directory}) + target_include_directories(zint-static ${ARGN}) endif() endfunction()