Skip to content
Snippets Groups Projects
Commit 595bfbc6 authored by Markus Blatt's avatar Markus Blatt
Browse files

Do not set empty definitions-

[[Imported from SVN: r6943]]
parent 1cc8a813
No related branches found
No related tags found
No related merge requests found
......@@ -341,9 +341,11 @@ macro(dune_process_dependency_tree DEPENDS DVERSIONS SUGGESTS SVERSIONS)
# Find the module
#find_package(${_mod})
# set includes
message(STATUS "Setting ${_mod}_INCLUDE_DIRS=${${_mod}_INCLUDE_DIRS}")
dune_module_to_uppercase(_upper_case "${_mod}")
include_directories("${${_mod}_INCLUDE_DIRS}")
if(${_mod}_INCLUDE_DIRS)
message(STATUS "Setting ${_mod}_INCLUDE_DIRS=${${_mod}_INCLUDE_DIRS}")
include_directories("${${_mod}_INCLUDE_DIRS}")
endif(${_mod}_INCLUDE_DIRS)
message(STATUS "Setting ${_mod}_LIBRARIES=${${_mod}_LIBRARIES}")
if(${_mod}_LIBRARIES)
foreach(_lib ${${_mod}_LIBRARIES})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment