Skip to content

Commit 0fb7156

Browse files
committed
try to fix build
1 parent e5e784a commit 0fb7156

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

core/CMakeLists.txt

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -362,10 +362,6 @@ add_dependencies(iresearch-static
362362
velocypack
363363
)
364364

365-
if (NOT (IRESEARCH_EXTERNAL_DEPENDENCIES STREQUAL "")
366-
add_dependencies(iresearch-static ${IRESEARCH_EXTERNAL_DEPENDENCIES})
367-
endif()
368-
369365
target_include_directories(iresearch-static
370366
SYSTEM
371367
PRIVATE ${CMAKE_CURRENT_BINARY_DIR}
@@ -437,6 +433,10 @@ if (CLANG_TIDY_EXE)
437433
)
438434
endif ()
439435

436+
if (NOT (IRESEARCH_EXTERNAL_DEPENDENCIES STREQUAL ""))
437+
add_dependencies(iresearch-static ${IRESEARCH_EXTERNAL_DEPENDENCIES})
438+
endif()
439+
440440
################################################################################
441441
### analysis plugin : delimiter
442442
################################################################################
@@ -517,6 +517,10 @@ target_link_libraries(iresearch-analyzer-text-static
517517
stemmer-static
518518
)
519519

520+
if (NOT (IRESEARCH_EXTERNAL_DEPENDENCIES STREQUAL ""))
521+
add_dependencies(iresearch-analyzer-text-static ${IRESEARCH_EXTERNAL_DEPENDENCIES})
522+
endif()
523+
520524
################################################################################
521525
### analysis plugin : collation token stream
522526
################################################################################
@@ -545,6 +549,10 @@ target_link_libraries(iresearch-analyzer-collation-static
545549
iresearch-static
546550
)
547551

552+
if (NOT (IRESEARCH_EXTERNAL_DEPENDENCIES STREQUAL ""))
553+
add_dependencies(iresearch-analyzer-collation-static ${IRESEARCH_EXTERNAL_DEPENDENCIES})
554+
endif()
555+
548556
################################################################################
549557
### analysis plugin : minhash
550558
################################################################################
@@ -595,6 +603,10 @@ target_link_libraries(iresearch-analyzer-norm-static
595603
iresearch-static
596604
)
597605

606+
if (NOT (IRESEARCH_EXTERNAL_DEPENDENCIES STREQUAL ""))
607+
add_dependencies(iresearch-analyzer-norm-static ${IRESEARCH_EXTERNAL_DEPENDENCIES})
608+
endif()
609+
598610
################################################################################
599611
### analysis plugin : text token stemming
600612
################################################################################
@@ -630,6 +642,10 @@ target_link_libraries(iresearch-analyzer-stem-static
630642
stemmer-static
631643
)
632644

645+
if (NOT (IRESEARCH_EXTERNAL_DEPENDENCIES STREQUAL ""))
646+
add_dependencies(iresearch-analyzer-stem-static ${IRESEARCH_EXTERNAL_DEPENDENCIES})
647+
endif()
648+
633649
################################################################################
634650
### analysis plugin : token stopwords
635651
################################################################################

0 commit comments

Comments
 (0)