Skip to content
Snippets Groups Projects
Commit a8ab403c authored by Henry Fredrick Schreiner's avatar Henry Fredrick Schreiner Committed by Guilherme Amadio
Browse files

Fix for error if include_directories are empty

parent 3b5561b2
No related branches found
No related tags found
No related merge requests found
...@@ -294,7 +294,10 @@ function(ROOT_GENERATE_DICTIONARY dictionary) ...@@ -294,7 +294,10 @@ function(ROOT_GENERATE_DICTIONARY dictionary)
endif() endif()
endforeach() endforeach()
list(REMOVE_DUPLICATES includedirs) if(includedirs)
list(REMOVE_DUPLICATES includedirs)
endif()
#---Get the list of definitions--------------------------- #---Get the list of definitions---------------------------
get_directory_property(defs COMPILE_DEFINITIONS) get_directory_property(defs COMPILE_DEFINITIONS)
foreach( d ${defs}) foreach( d ${defs})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment