summaryrefslogtreecommitdiff
path: root/libs/raylib/cmake/AddIfFlagCompiles.cmake
diff options
context:
space:
mode:
authorLucaSas <sas.luca.alex@gmail.com>2021-11-04 16:14:58 +0200
committerLucaSas <sas.luca.alex@gmail.com>2021-11-04 16:14:58 +0200
commitd96b4ebce5ee6245fa80d27d41b67aa56555c912 (patch)
treef28cb388a14c4bd9da8f4b57b213eb1539fc5367 /libs/raylib/cmake/AddIfFlagCompiles.cmake
parent6bcb1207addb4afe041c94e68e23c77175164956 (diff)
downloadgamejam-slgj-2024-d96b4ebce5ee6245fa80d27d41b67aa56555c912.tar.gz
gamejam-slgj-2024-d96b4ebce5ee6245fa80d27d41b67aa56555c912.tar.bz2
gamejam-slgj-2024-d96b4ebce5ee6245fa80d27d41b67aa56555c912.zip
Changed the template to now download raylib instead of having it in the repo.
Diffstat (limited to 'libs/raylib/cmake/AddIfFlagCompiles.cmake')
-rw-r--r--libs/raylib/cmake/AddIfFlagCompiles.cmake12
1 files changed, 0 insertions, 12 deletions
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()