Skip to content
  • Sebastien Barre's avatar
    ENH: bug #3357. The: · 72191e05
    Sebastien Barre authored
    EXPORT_LIBRARY_DEPENDENCIES(${ITK_BINARY_DIR}/ITKLibraryDepends.cmake)
    command seems to be generated by CMake once the whole CMakeLists.txt file has been processed. This causes a problem when ITK is part of a larger project because the libraries dependencies file can be generated *after* a package in the same larger project decides to refer to ITK settings through FIND_PACKAGE. When that happens, the configure step will fail because the libs dependencies file is not found yet. The workaround for now is to test if the file exist before including it.
    72191e05