summaryrefslogtreecommitdiff
path: root/libs/raylib/cmake/raylib-config-version.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/raylib-config-version.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/raylib-config-version.cmake')
-rw-r--r--libs/raylib/cmake/raylib-config-version.cmake21
1 files changed, 0 insertions, 21 deletions
diff --git a/libs/raylib/cmake/raylib-config-version.cmake b/libs/raylib/cmake/raylib-config-version.cmake
deleted file mode 100644
index 74fd03c..0000000
--- a/libs/raylib/cmake/raylib-config-version.cmake
+++ /dev/null
@@ -1,21 +0,0 @@
-set(PACKAGE_VERSION "@PROJECT_VERSION@")
-
-if(PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
- set(PACKAGE_VERSION_EXACT TRUE)
-endif()
-if(NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
- set(PACKAGE_VERSION_COMPATIBLE TRUE)
-else(NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
- set(PACKAGE_VERSION_UNSUITABLE TRUE)
-endif(NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
-
-# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
-if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "@CMAKE_SIZEOF_VOID_P@" STREQUAL "")
- return()
-endif()
-
-if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "@CMAKE_SIZEOF_VOID_P@")
- math(EXPR installedBits "8 * 8")
- set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
- set(PACKAGE_VERSION_UNSUITABLE TRUE)
-endif()