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 dbb1e6a commit 9c7ea57Copy full SHA for 9c7ea57
examples/scalar/CMakeLists.txt
@@ -12,7 +12,8 @@ set(scalar_examples
12
13
foreach(example ${scalar_examples})
14
add_executable(${example} ${CMAKE_CURRENT_SOURCE_DIR}/${example}.cpp)
15
- if(${pfasst_DEPENDEND_TARGETS})
+ string(LENGTH pfasst_DEPENDEND_TARGETS temp)
16
+ if(${temp} GREATER 0)
17
add_dependencies(${example} ${pfasst_DEPENDEND_TARGETS})
18
endif()
19
target_link_libraries(${example}
0 commit comments