2021-11-03 11:22:19 -04:00
|
|
|
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
|
2023-05-17 11:16:18 -04:00
|
|
|
@@ -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/")
|
2021-11-03 11:22:19 -04:00
|
|
|
|
2023-05-17 11:16:18 -04:00
|
|
|
include(bde_workspace)
|
2021-11-03 11:22:19 -04:00
|
|
|
|