diff options
Diffstat (limited to 'cyclonev/family.cmake')
-rw-r--r-- | cyclonev/family.cmake | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cyclonev/family.cmake b/cyclonev/family.cmake index 9d1fb9bf..92ec7d12 100644 --- a/cyclonev/family.cmake +++ b/cyclonev/family.cmake @@ -1,5 +1,11 @@ set(MISTRAL_ROOT "" CACHE STRING "Mistral install path") +aux_source_directory(${MISTRAL_ROOT}/lib MISTRAL_FILES) +add_library(mistral STATIC ${MISTRAL_FILES}) + +find_package(LibLZMA REQUIRED) + foreach(family_target ${family_targets}) - target_include_directories(${family_target} PRIVATE ${MISTRAL_ROOT}/lib) + target_include_directories(${family_target} PRIVATE ${MISTRAL_ROOT}/lib ${LIBLZMA_INCLUDE_DIRS}) + target_link_libraries(${family_target} PRIVATE mistral ${LIBLZMA_LIBRARIES}) endforeach() |