diff --git a/CMakeLists.txt b/CMakeLists.txt index 2183ecbfea1178bdbf682754cc4bc8587a917399..cef135c7fc23543e45d82437a96b002900fee381 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -742,6 +742,10 @@ include(BuildMisc) libmisc_build() add_dependencies(build_bundled_libs misc) +if(DEFINED EXTRA_DEPENDENCIES_CMAKE) + include(${EXTRA_DEPENDENCIES_CMAKE}) +endif() + # cpack config. called package.cmake to avoid # conflicts with the global CPack.cmake (On MacOS X # file names are case-insensitive) diff --git a/src/lib/core/CMakeLists.txt b/src/lib/core/CMakeLists.txt index 8d3630cb037cff64c42cdb9c27000c6e0ab6b21d..f9cfdabae24ee724a983cae87b357eb3bf44ef32 100644 --- a/src/lib/core/CMakeLists.txt +++ b/src/lib/core/CMakeLists.txt @@ -89,6 +89,10 @@ if (ENABLE_BACKTRACE) endif() endif() +if(EXTRA_CORE_DEPENDENCIES) + add_dependencies(core ${EXTRA_CORE_DEPENDENCIES}) +endif() + if (ENABLE_BUNDLED_OPENSSL) add_dependencies(core bundled-openssl) endif()