aboutsummaryrefslogtreecommitdiffstats
path: root/mistral
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-08-15 15:13:31 +0100
committergatecat <gatecat@ds0.me>2021-08-15 15:13:31 +0100
commitf7be385230cbd6b6a030c8e159ac2cf175298c16 (patch)
tree7772088636b0fe20718df20e06ccec2733c786e1 /mistral
parente7db15d6a4c9b1a36d87d7ab8a56d51f578ef82a (diff)
downloadnextpnr-f7be385230cbd6b6a030c8e159ac2cf175298c16.tar.gz
nextpnr-f7be385230cbd6b6a030c8e159ac2cf175298c16.tar.bz2
nextpnr-f7be385230cbd6b6a030c8e159ac2cf175298c16.zip
mistral: Include mistral generated files in include dirs
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'mistral')
-rw-r--r--mistral/family.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/mistral/family.cmake b/mistral/family.cmake
index a18b5b27..80b67e63 100644
--- a/mistral/family.cmake
+++ b/mistral/family.cmake
@@ -6,7 +6,7 @@ add_subdirectory(${MISTRAL_ROOT}/libmistral ${CMAKE_CURRENT_BINARY_DIR}/libmistr
find_package(LibLZMA REQUIRED)
foreach(family_target ${family_targets})
- target_include_directories(${family_target} PRIVATE ${MISTRAL_ROOT}/libmistral ${LIBLZMA_INCLUDE_DIRS})
+ target_include_directories(${family_target} PRIVATE ${MISTRAL_ROOT}/libmistral ${CMAKE_CURRENT_BINARY_DIR}/libmistral ${LIBLZMA_INCLUDE_DIRS})
target_link_libraries(${family_target} PRIVATE mistral ${LIBLZMA_LIBRARIES})
# Currently required to avoid issues with mistral (LTO means the warnings can end up in nextpnr)
target_link_options(${family_target} PRIVATE -Wno-maybe-uninitialized -Wno-uninitialized -Wno-unknown-warning-option)