diff --git a/adm/cmake/occt_csf.cmake b/adm/cmake/occt_csf.cmake index bee8ba78d9..faa1828e91 100644 --- a/adm/cmake/occt_csf.cmake +++ b/adm/cmake/occt_csf.cmake @@ -102,16 +102,18 @@ else() if (IOS) find_library (Appkit_LIB NAMES UIKit) set (CSF_Appkit ${Appkit_LIB}) + message(WARNING "CSF_Appkit: ${CSF_Appkit}") else() find_library (Appkit_LIB NAMES AppKit) set (CSF_Appkit ${Appkit_LIB}) + message(WARNING "CSF_Appkit: ${CSF_Appkit}") endif() OCCT_CHECK_AND_UNSET (Appkit_LIB) find_library (IOKit_LIB NAMES IOKit) set (CSF_IOKit ${IOKit_LIB}) OCCT_CHECK_AND_UNSET (IOKit_LIB) - + message(WARNING "CSF_IOKit: ${CSF_IOKit}") if (IOS) find_library (OpenGlesLibs_LIB NAMES OpenGLES) set (CSF_OpenGlesLibs ${OpenGlesLibs_LIB}) diff --git a/adm/cmake/occt_macros.cmake b/adm/cmake/occt_macros.cmake index fa73aeb248..36657e0577 100644 --- a/adm/cmake/occt_macros.cmake +++ b/adm/cmake/occt_macros.cmake @@ -806,6 +806,9 @@ function (PROCESS_CSF_LIBRARIES CURRENT_CSF LIST_NAME TARGET_NAME) get_filename_component(LIBRARY_DIR "${CSF_LIBRARY_ORIGINAL}" DIRECTORY) list (APPEND FOUND_LIBS "${LIBRARY_NAME}") set (RELEASE_DIR "${LIBRARY_DIR}") + message(WARNING "Library ${CSF_LIBRARY_ORIGINAL} not found in cache. Using original path.") + message(WARNING "Library name: ${LIBRARY_NAME}") + message(WARNING "Library directory: ${LIBRARY_DIR}") endif() if (DEBUG_DIR AND RELEASE_DIR) list (APPEND FOUND_DEBUG_DIRS "${DEBUG_DIR}")