From aca91af8cb6bd13d2e0505e641eedd0bd7aa0755 Mon Sep 17 00:00:00 2001 From: crypto-ape <43807588+crypto-ape@users.noreply.github.com> Date: Fri, 20 Sep 2019 10:09:39 +0200 Subject: [PATCH] Removed unused CMake macros --- CMakeModules/Utils.cmake | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/CMakeModules/Utils.cmake b/CMakeModules/Utils.cmake index 9bec3267a3..4783245d68 100644 --- a/CMakeModules/Utils.cmake +++ b/CMakeModules/Utils.cmake @@ -23,24 +23,3 @@ macro(add_compiler_flag_if_available _FLAG) add_flag_append(CMAKE_CXX_FLAGS ${_FLAG}) endif() endmacro(add_compiler_flag_if_available _VAR_NAME _FLAG) - -# macro to verify if required flags are set. If not then the project should be skipped -macro(verify_required_flags _FLAGS) - set (_RESULT 0) - foreach (_FLAG ${_FLAGS}) - if (${${_FLAG}}) - set (_RESULT 1) - break() - endif() - endforeach() - if (NOT (${_RESULT})) - message (STATUS "Project: ${PROJECT_NAME} will be skipped bulding due to missing required flags") - return() - endif() -endmacro() - -macro(link_libraries_by_flag _FLAG _LIST _LIB) - if (${_FLAG}) - list(APPEND ${_LIST} ${_LIB}) - endif() -endmacro()