Skip to content

Commit 8b8fcd1

Browse files
committed
cmake: a little helper function
for notifying the user about 3rdparty dependencies, which get pulled in but will not get installed together with PFASST++
1 parent 4d5d3fa commit 8b8fcd1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cmake/utility_functions.cmake

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,11 @@ function(add_to_string_list in_string out_string)
1919
# message(STATUS "Full string is now: '${in_string}'")
2020
set(${out_string} ${in_string} PARENT_SCOPE)
2121
endfunction(add_to_string_list)
22+
23+
macro(msg_not_installed dependency_name)
24+
message("!!!!")
25+
message("! ${dependency_name} will not be installed with PFASST++.")
26+
message("! When using PFASST++ with your own code, please make sure to also add")
27+
message("! ${dependency_name} manually to your project.")
28+
message("!!!!")
29+
endmacro(msg_not_installed)

0 commit comments

Comments
 (0)