38 lines
1.7 KiB
Diff
38 lines
1.7 KiB
Diff
--- a/build_system/seqan3-config.orig.cmake 2023-01-19 15:14:00.000000000 +0100
|
|
+++ b/build_system/seqan3-config.cmake 2023-01-25 21:08:55.816191959 +0100
|
|
@@ -122,9 +122,7 @@
|
|
# Note that seqan3-config.cmake can be standalone and thus SEQAN3_CLONE_DIR might be empty.
|
|
# * `SEQAN3_CLONE_DIR` was already found in seqan3-config-version.cmake
|
|
# * `SEQAN3_INCLUDE_DIR` was already found in seqan3-config-version.cmake
|
|
-find_path (SEQAN3_SUBMODULES_DIR
|
|
- NAMES submodules/sdsl-lite
|
|
- HINTS "${SEQAN3_CLONE_DIR}" "${SEQAN3_INCLUDE_DIR}/seqan3")
|
|
+find_path (HINTS "${SEQAN3_CLONE_DIR}" "${SEQAN3_INCLUDE_DIR}/seqan3" "${CMAKE_INSTALL_PREFIX}/include/sdsl")
|
|
|
|
if (SEQAN3_INCLUDE_DIR)
|
|
seqan3_config_print ("SeqAn3 include dir found: ${SEQAN3_INCLUDE_DIR}")
|
|
@@ -133,24 +131,6 @@
|
|
endif ()
|
|
|
|
# ----------------------------------------------------------------------------
|
|
-# Detect if we are a clone of repository and if yes auto-add submodules
|
|
-# ----------------------------------------------------------------------------
|
|
-
|
|
-if (SEQAN3_CLONE_DIR)
|
|
- seqan3_config_print ("Detected as running from a repository checkout…")
|
|
-endif ()
|
|
-
|
|
-if (SEQAN3_SUBMODULES_DIR)
|
|
- file (GLOB submodules ${SEQAN3_SUBMODULES_DIR}/submodules/*/include)
|
|
- foreach (submodule ${submodules})
|
|
- if (IS_DIRECTORY ${submodule})
|
|
- seqan3_config_print (" …adding submodule include: ${submodule}")
|
|
- set (SEQAN3_DEPENDENCY_INCLUDE_DIRS ${submodule} ${SEQAN3_DEPENDENCY_INCLUDE_DIRS})
|
|
- endif ()
|
|
- endforeach ()
|
|
-endif ()
|
|
-
|
|
-# ----------------------------------------------------------------------------
|
|
# Options for CheckCXXSourceCompiles
|
|
# ----------------------------------------------------------------------------
|
|
|