2021-11-05 15:24:45 +08:00
|
|
|
From 3ea8aa5ded2782cfb10577348fc9f56144c72d7b Mon Sep 17 00:00:00 2001
|
|
|
|
From: raahilsha-z <raahil.sha@zimaging.io>
|
|
|
|
Date: Wed, 7 Jul 2021 15:57:46 -0400
|
|
|
|
Subject: [PATCH] fix numeric literals flag
|
|
|
|
|
|
|
|
---
|
|
|
|
CMakeLists.txt | 3 +++
|
|
|
|
1 file changed, 3 insertions(+)
|
|
|
|
|
2020-08-19 06:20:22 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2021-11-05 15:24:45 +08:00
|
|
|
index 7cf86f74b..e07fd430a 100644
|
2020-08-19 06:20:22 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2021-11-05 15:24:45 +08:00
|
|
|
@@ -420,6 +420,9 @@ endif()
|
2020-08-19 06:20:22 +08:00
|
|
|
|
|
|
|
# Boost (required)
|
|
|
|
include("${PCL_SOURCE_DIR}/cmake/pcl_find_boost.cmake")
|
2020-10-13 08:22:47 +08:00
|
|
|
+if (NOT APPLE AND NOT WIN32 AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
2020-08-19 06:20:22 +08:00
|
|
|
+ add_definitions(-fext-numeric-literals)
|
|
|
|
+endif()
|
|
|
|
|
2024-01-11 09:02:56 +08:00
|
|
|
# System zlib (for nurbs on surface)
|
|
|
|
option(WITH_SYSTEM_ZLIB "Use system zlib" TRUE)
|
2021-11-05 15:24:45 +08:00
|
|
|
--
|
|
|
|
2.32.0.windows.1
|
|
|
|
|