File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 44
55include_guard ()
66
7- function (install_dependencies)
7+ macro (install_dependencies)
88 message (STATUS "Installing Dependencies for ${PROJECT_NAME} " )
99
1010 # Avoid building tests for dependencies...
1111 set (BUILD_TESTING off )
1212
1313 # Add dependencies here...
1414 message (STATUS " N/A" )
15-
16- endfunction ()
17- safeguard_properties(CALLBACK "install_dependencies" PROPERTIES BUILD_TESTING)
15+ endmacro ()
16+ safeguard_properties("install_dependencies" "BUILD_TESTING" )
Original file line number Diff line number Diff line change @@ -7,14 +7,13 @@ include_guard()
77# Include regular dependencies
88include ("dependencies.cmake" )
99
10- function (install_dev_dependencies)
10+ macro (install_dev_dependencies)
1111 message (STATUS "Installing Development Dependencies for ${PROJECT_NAME} " )
1212
1313 # Avoid building tests for dependencies...
1414 set (BUILD_TESTING off )
1515
1616 # Add dev-dependencies here...
1717 message (STATUS " N/A" )
18-
19- endfunction ()
20- safeguard_properties(CALLBACK "install_dev_dependencies" PROPERTIES BUILD_TESTING)
18+ endmacro ()
19+ safeguard_properties("install_dev_dependencies" "BUILD_TESTING" )
You can’t perform that action at this time.
0 commit comments