diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-08-26 07:08:03 +0200 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-08-26 07:08:03 +0200 |
commit | 9d074e16c7a9879d67c348c7b2d70b725adfbdfa (patch) | |
tree | c4c8dc52508717b3b7aa7c988924a03aa6eb83d8 /gnu/packages/patches/bloomberg-bde-cmake-module-path.patch | |
parent | ca7e310f7ac32354b2e693e9a0f783320952a8fc (diff) | |
parent | eeb71d778f149834015858467fbeeb1276d96d1d (diff) |
Merge branch 'master' into emacs-team
Diffstat (limited to 'gnu/packages/patches/bloomberg-bde-cmake-module-path.patch')
-rw-r--r-- | gnu/packages/patches/bloomberg-bde-cmake-module-path.patch | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/gnu/packages/patches/bloomberg-bde-cmake-module-path.patch b/gnu/packages/patches/bloomberg-bde-cmake-module-path.patch index b08ca5eac0..7743863cf8 100644 --- a/gnu/packages/patches/bloomberg-bde-cmake-module-path.patch +++ b/gnu/packages/patches/bloomberg-bde-cmake-module-path.patch @@ -4,13 +4,11 @@ locating the bloomberg-bde-tools CMake modules. --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -1,8 +1,6 @@ - cmake_minimum_required(VERSION 3.15) +@@ -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/") --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) + include(bde_workspace) |