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

Index: lib/common/cexpf/CMakeLists.txt
--- lib/common/cexpf/CMakeLists.txt.orig
+++ lib/common/cexpf/CMakeLists.txt
@@ -25,7 +25,7 @@ set(SRCS
   )
 
 list(APPEND DEFINITIONS NDEBUG)
-if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+if(${LIBPGMATH_SYSTEM_NAME} MATCHES "Linux")
   list(APPEND DEFINITIONS _GNU_SOURCE)
 endif()
 
