mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Use double floating point when it has no impact on the code.
This commit is contained in:
parent
a99e926088
commit
151077c799
2
vendor/Squirrel/CMakeLists.txt
vendored
2
vendor/Squirrel/CMakeLists.txt
vendored
@ -48,7 +48,7 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
# Make sure Squirrel knows this is 64 bit
|
# Make sure Squirrel knows this is 64 bit
|
||||||
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||||
target_compile_definitions(Squirrel PUBLIC _SQ64)
|
target_compile_definitions(Squirrel PUBLIC _SQ64=1 SQUSEDOUBLE=1)
|
||||||
endif()
|
endif()
|
||||||
# Set specific compiler options
|
# Set specific compiler options
|
||||||
if (GCC OR MINGW)
|
if (GCC OR MINGW)
|
||||||
|
Loading…
Reference in New Issue
Block a user