mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
deal with TODO in CMake macro files [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
1bd9da624d
commit
e95e7d1f32
2 changed files with 2 additions and 2 deletions
|
@ -182,8 +182,8 @@ function(KATIE_SETUP_TARGET FORTARGET)
|
|||
get_directory_property(dirdefs COMPILE_DEFINITIONS)
|
||||
get_directory_property(dirincs INCLUDE_DIRECTORIES)
|
||||
set(mocargs)
|
||||
# COMPILE_DEFINITIONS does not include undefine definitions
|
||||
foreach(ddef ${dirdefs})
|
||||
# TODO: filter non -D, support -U too
|
||||
set(mocargs ${mocargs} -D${ddef})
|
||||
endforeach()
|
||||
foreach(incdir ${dirincs})
|
||||
|
|
|
@ -37,8 +37,8 @@ macro(KATIE_RESOURCES RESOURCES)
|
|||
get_directory_property(dirdefs COMPILE_DEFINITIONS)
|
||||
get_directory_property(dirincs INCLUDE_DIRECTORIES)
|
||||
set(mocargs)
|
||||
# COMPILE_DEFINITIONS does not include undefine definitions
|
||||
foreach(ddef ${dirdefs})
|
||||
# TODO: filter non -D, support -U too
|
||||
set(mocargs ${mocargs} -D${ddef})
|
||||
endforeach()
|
||||
foreach(incdir ${dirincs})
|
||||
|
|
Loading…
Add table
Reference in a new issue