summary refs log tree commit diff
path: root/pkgs/development/libraries/pugixml/no-long-long.patch
blob: 46c54e85a1d0698b6a17baa6a003f50850feade4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Get rid of long-long feature. This breaks on AppleClang compilers.
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 40a7ab0..c84f0f7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,9 +26,9 @@ else()
 endif()
 
 # Enable C++11 long long for compilers that are capable of it
-if(NOT ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} STRLESS 3.1)
-	target_compile_features(pugixml PUBLIC cxx_long_long_type)
-endif()
+# if(NOT ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} STRLESS 3.1)
+# 	target_compile_features(pugixml PUBLIC cxx_long_long_type)
+# endif()
 
 set_target_properties(pugixml PROPERTIES VERSION 1.7 SOVERSION 1)