$OpenBSD: patch-lib_common_asin_fma3_CMakeLists_txt,v 1.3 2019/08/12 15:41:55 bcallah Exp $

Index: lib/common/asin/fma3/CMakeLists.txt
--- lib/common/asin/fma3/CMakeLists.txt.orig
+++ lib/common/asin/fma3/CMakeLists.txt
@@ -22,7 +22,7 @@ set(SRCS)
 
 # Set source files, compiler flags and definitions
 if(${LIBPGMATH_SYSTEM_PROCESSOR} MATCHES "x86_64")
-  if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|Darwin|Windows")
+  if(${LIBPGMATH_SYSTEM_NAME} MATCHES "Linux|Darwin|Windows")
     set(SRCS
       sdasin.cpp
       ssasin.cpp
