aboutsummaryrefslogtreecommitdiff
path: root/cmake/OpusFunctions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/OpusFunctions.cmake')
-rw-r--r--cmake/OpusFunctions.cmake8
1 files changed, 0 insertions, 8 deletions
diff --git a/cmake/OpusFunctions.cmake b/cmake/OpusFunctions.cmake
index f0da3822..2eb83f4e 100644
--- a/cmake/OpusFunctions.cmake
+++ b/cmake/OpusFunctions.cmake
@@ -92,14 +92,6 @@ function(get_package_version PACKAGE_VERSION)
set(PACKAGE_VERSION 0 PARENT_SCOPE)
endfunction()
-function(check_and_set_flag NAME FLAG)
- include(CheckCCompilerFlag)
- check_c_compiler_flag(${FLAG} ${NAME}_SUPPORTED)
- if(${NAME}_SUPPORTED)
- add_definitions(${FLAG})
- endif()
-endfunction()
-
function(check_flag NAME FLAG)
include(CheckCCompilerFlag)
check_c_compiler_flag(${FLAG} ${NAME}_SUPPORTED)