mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add bloomberg-bde.
* gnu/packages/cpp.scm (bloomberg-bde): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
4469990f2e
commit
7fbb6fe0e1
3 changed files with 91 additions and 1 deletions
16
gnu/packages/patches/bloomberg-bde-cmake-module-path.patch
Normal file
16
gnu/packages/patches/bloomberg-bde-cmake-module-path.patch
Normal file
|
@ -0,0 +1,16 @@
|
|||
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
|
||||
@@ -1,8 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.15)
|
||||
|
||||
-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/")
|
||||
|
||||
get_filename_component(repoName ${CMAKE_CURRENT_LIST_DIR} NAME)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue