From 151077c799745de5b95633d8dfe36718ad72edca Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Wed, 18 Aug 2021 22:24:18 +0300 Subject: [PATCH] Use double floating point when it has no impact on the code. --- vendor/Squirrel/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/Squirrel/CMakeLists.txt b/vendor/Squirrel/CMakeLists.txt index bbc45b9d..c564a79e 100644 --- a/vendor/Squirrel/CMakeLists.txt +++ b/vendor/Squirrel/CMakeLists.txt @@ -48,7 +48,7 @@ else() endif() # Make sure Squirrel knows this is 64 bit if(CMAKE_SIZEOF_VOID_P EQUAL 8) - target_compile_definitions(Squirrel PUBLIC _SQ64) + target_compile_definitions(Squirrel PUBLIC _SQ64=1 SQUSEDOUBLE=1) endif() # Set specific compiler options if (GCC OR MINGW)