summaryrefslogtreecommitdiff
path: root/libs/raylib/cmake/EnumOption.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'libs/raylib/cmake/EnumOption.cmake')
-rw-r--r--libs/raylib/cmake/EnumOption.cmake9
1 files changed, 0 insertions, 9 deletions
diff --git a/libs/raylib/cmake/EnumOption.cmake b/libs/raylib/cmake/EnumOption.cmake
deleted file mode 100644
index d7d343f..0000000
--- a/libs/raylib/cmake/EnumOption.cmake
+++ /dev/null
@@ -1,9 +0,0 @@
-macro(enum_option var values description)
- set(${var}_VALUES ${values})
- list(GET ${var}_VALUES 0 default)
- set(${var} "${default}" CACHE STRING "${description}")
- set_property(CACHE ${var} PROPERTY STRINGS ${${var}_VALUES})
- if (NOT ";${${var}_VALUES};" MATCHES ";${${var}};")
- message(FATAL_ERROR "Unknown value ${${var}}. Only -D${var}=${${var}_VALUES} allowed.")
- endif()
-endmacro()