python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / g2o / remove-compiler-reference.patch
blob347c5780240320380c52a2dd58bc2de2b0a49cd4
1 From b9bfed09e4e3c481b7eb36bee1ff4202ccf69dee Mon Sep 17 00:00:00 2001
2 From: Ben Wolsieffer <benwolsieffer@gmail.com>
3 Date: Fri, 17 May 2019 19:05:36 -0400
4 Subject: [PATCH] Remove reference to compiler.
6 ---
7 CMakeLists.txt | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/CMakeLists.txt b/CMakeLists.txt
11 index a3f66dd..bb05bd0 100644
12 --- a/CMakeLists.txt
13 +++ b/CMakeLists.txt
14 @@ -371,7 +371,7 @@ set(G2O_HAVE_CHOLMOD ${CHOLMOD_FOUND})
15 set(G2O_HAVE_CSPARSE ${CSPARSE_FOUND})
16 set(G2O_SHARED_LIBS ${BUILD_SHARED_LIBS})
17 set(G2O_LGPL_SHARED_LIBS ${BUILD_LGPL_SHARED_LIBS})
18 -set(G2O_CXX_COMPILER "${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER}")
19 +set(G2O_CXX_COMPILER "${CMAKE_CXX_COMPILER_ID} unknown")
21 configure_file(config.h.in "${PROJECT_BINARY_DIR}/g2o/config.h")
22 install(FILES ${PROJECT_BINARY_DIR}/g2o/config.h DESTINATION ${INCLUDES_DESTINATION}/g2o)
23 --
24 2.21.0