~ruther/guix-local

ref: 88d6a1d15410d8ea0bef3d928e86d40eba4f1b13 guix-local/gnu/packages/patches/bloomberg-bde-cmake-module-path.patch -rw-r--r-- 495 bytes
88d6a1d1 — Ricardo Wurmus gnu: python-itanium-demangler: Add missing inputs. 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
This package requires CMAKE_MODULE_PATH be set by the calling process. This
patch uses the CMAKE_PREFIX_PATH passed from Guix as the search path for
locating the bloomberg-bde-tools CMake modules.

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,6 +14,7 @@ else()
     if (NOT CMAKE_MODULE_PATH)
         message(FATAL "Please specify path to BDE cmake modules.")
     endif()
+    string(REPLACE ":" "cmake/;" CMAKE_MODULE_PATH "$ENV{CMAKE_PREFIX_PATH}cmake/")
 
     include(bde_workspace)