mirror of
https://github.com/mpusz/mp-units.git
synced 2025-06-25 01:01:33 +02:00
build: add_mp_units_module
now use HEADER_SET
This commit is contained in:
@ -43,7 +43,7 @@ function(get_target_sources target paths_out)
|
||||
list(APPEND targets ${target})
|
||||
|
||||
foreach(t ${targets})
|
||||
get_target_property(sources ${t} SOURCES)
|
||||
get_target_property(sources ${t} HEADER_SET)
|
||||
if(sources)
|
||||
get_target_property(source_dir ${t} SOURCE_DIR)
|
||||
foreach(f ${sources})
|
||||
|
Reference in New Issue
Block a user