mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-12 22:25:59 -04:00
Fix exported target include directories
This commit is contained in:
parent
2d2b221306
commit
b0db61efe1
1 changed files with 3 additions and 3 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue