From d96b4ebce5ee6245fa80d27d41b67aa56555c912 Mon Sep 17 00:00:00 2001 From: LucaSas Date: Thu, 4 Nov 2021 16:14:58 +0200 Subject: Changed the template to now download raylib instead of having it in the repo. --- libs/raylib/cmake/AddIfFlagCompiles.cmake | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 libs/raylib/cmake/AddIfFlagCompiles.cmake (limited to 'libs/raylib/cmake/AddIfFlagCompiles.cmake') diff --git a/libs/raylib/cmake/AddIfFlagCompiles.cmake b/libs/raylib/cmake/AddIfFlagCompiles.cmake deleted file mode 100644 index 403607b..0000000 --- a/libs/raylib/cmake/AddIfFlagCompiles.cmake +++ /dev/null @@ -1,12 +0,0 @@ -include(CheckCCompilerFlag) -function(add_if_flag_compiles flag) - CHECK_C_COMPILER_FLAG("${flag}" COMPILER_HAS_THOSE_TOGGLES) - set(outcome "Failed") - if(COMPILER_HAS_THOSE_TOGGLES) - foreach(var ${ARGN}) - set(${var} "${flag} ${${var}}" PARENT_SCOPE) - endforeach() - set(outcome "compiles") - endif() - message(STATUS "Testing if ${flag} can be used -- ${outcome}") -endfunction() -- cgit v1.2.3