-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
libisal
- despite having installed
libisal-devandlibisal2debain package in defaulty debian (ubuntu) library directories, the library cannot be found by the current cmake recipe of strobealign. - this is strange, as calling for this library in another dummy recipes works (default search path modified in strobealign cmakelist?)
- the README mention I-SAL, but not explicitly as a dependency
- I resolved this by setting download option in my top cmakelist :
# strobealign source code access
set(ISAL "download")
FetchContent_Declare(
strobealign
GIT_REPOSITORY https://github.com/ksahlin/strobealign.git
GIT_TAG v0.16.1
)zstr, statically loaded twice with different version
- zstr is statically copied into one of strobealign's sub-directories and loaded statically.
- This conflicts with my other cmakelists (including mine and those of graphaligner where it is also a dependency, but different versions)
- Temporary fix is to use OVERRIDE_FIND_PACKAGE in fetch_content(). It will give priority to zstr search via strobalign recipe, and pass it to upper level recipes.
This constrains to rely on strobealign fixed version (not a big issue so far).
# fix for zstr, in my particular setup
set(ISAL "download")
FetchContent_Declare(
strobealign
GIT_REPOSITORY https://github.com/ksahlin/strobealign.git
GIT_TAG v0.16.1
OVERRIDE_FIND_PACKAGE #ignore further zstr loads from GraphAligner
)Metadata
Metadata
Assignees
Labels
No labels