summaryrefslogtreecommitdiff
path: root/math/libpgmath/files/patch-CMakeLists.txt
blob: 6497cdb6b554fe49cc00fbff8fdbb5be1ab76722 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- CMakeLists.txt.orig	2019-10-20 14:17:43 UTC
+++ CMakeLists.txt
@@ -52,7 +52,7 @@ if (LIBPGMATH_STANDALONE_BUILD)
 endif()
 
 set(LIBPGMATH_SYSTEM_NAME "${CMAKE_SYSTEM_NAME}")
-if ("${LIBPGMATH_SYSTEM_NAME}" STREQUAL "OpenBSD")
+if ("${LIBPGMATH_SYSTEM_NAME}" STREQUAL "OpenBSD" OR "${LIBPGMATH_SYSTEM_NAME}" STREQUAL "FreeBSD")
   set(LIBPGMATH_SYSTEM_NAME "Linux")
 endif ()