openbsd-ports/graphics/glm/patches/patch-CMakeLists_txt
rsadowski 1dc22dfc87 update glm to 0.9.8.4
CXXFLAGS tweak and ok czarkoff@
2017-06-15 18:02:17 +00:00

13 lines
348 B
Plaintext

$OpenBSD: patch-CMakeLists_txt,v 1.3 2017/06/15 18:02:17 rsadowski Exp $
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -77,6 +77,7 @@ if(GLM_TEST_ENABLE_LANG_EXTENSIONS)
if(GLM_TEST_ENABLE_FAST_MATH)
if(CMAKE_COMPILER_IS_GNUCXX)
add_definitions(-ffast-math)
+ add_definitions(-mfpmath=387)
endif()
if(MSVC)