We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcd963a commit e022e3fCopy full SHA for e022e3f
examples/boris/CMakeLists.txt
@@ -32,7 +32,11 @@ endforeach(example)
32
33
if(pfasst_BORIS_SAME_LEVELS)
34
get_target_property(boris_mlsdc_definitions boris_mlsdc COMPILE_DEFINITIONS)
35
- list(APPEND boris_mlsdc_definitions "BORIS_SAME_LEVELS")
+ if(${boris_mlsdc_definitions})
36
+ list(APPEND boris_mlsdc_definitions "BORIS_SAME_LEVELS")
37
+ else()
38
+ set(boris_mlsdc_definitions "BORIS_SAME_LEVELS")
39
+ endif()
40
set_target_properties(boris_mlsdc PROPERTIES COMPILE_DEFINITIONS ${boris_mlsdc_definitions})
41
endif()
42
0 commit comments