SET(DFBROWSER_LIB_DIR "${DFBROWSER_ROOT_DIR}/lib")
FIND_LIBRARY(DFBrowserAPI DFBrowserAPI "${DFBROWSER_LIB_DIR}")
- SET(DFBrowserAPI ${DFBrowserAPI})
+ IF(DFBrowserAPI)
+ SET(DFBrowserAPI ${DFBrowserAPI})
+ MESSAGE(STATUS "DFBrowser found at ${DFBROWSER_ROOT_DIR}")
+ MESSAGE(STATUS "DFBrowser include dir at ${DFBROWSER_INCLUDE_DIR}")
+ MESSAGE(STATUS "DFBrowser lib dir at ${DFBROWSER_LIB_DIR}")
+ ENDIF(DFBrowserAPI)
- MESSAGE(STATUS "DFBrowser found at ${DFBROWSER_ROOT_DIR}")
- MESSAGE(STATUS "DFBrowser include dir at ${DFBROWSER_INCLUDE_DIR}")
- MESSAGE(STATUS "DFBrowser lib dir at ${DFBROWSER_LIB_DIR}")
ENDIF(EXISTS ${DFBROWSER_ROOT_DIR})
SET(VINSPECTOR_LIB_DIR "${VINSPECTOR_ROOT_DIR}/lib")
FIND_LIBRARY(VInspectorAPI VInspectorAPI "${VINSPECTOR_LIB_DIR}")
- SET(VInspectorAPI ${VInspectorAPI})
+ IF(VInspectorAPI)
+ SET(VInspectorAPI ${VInspectorAPI})
+ MESSAGE(STATUS "VInspector found at ${VINSPECTOR_ROOT_DIR}")
+ MESSAGE(STATUS "VInspector include dir at ${VINSPECTOR_INCLUDE_DIR}")
+ MESSAGE(STATUS "VInspector lib dir at ${VINSPECTOR_LIB_DIR}")
+ ENDIF(VInspectorAPI)
- MESSAGE(STATUS "VInspector found at ${VINSPECTOR_ROOT_DIR}")
- MESSAGE(STATUS "VInspector include dir at ${VINSPECTOR_INCLUDE_DIR}")
- MESSAGE(STATUS "VInspector lib dir at ${VINSPECTOR_LIB_DIR}")
ENDIF(EXISTS ${VINSPECTOR_ROOT_DIR})
${CAS_INCLUDE_DIRS}
${SUIT_INCLUDE})
-IF(EXISTS ${VINSPECTOR_ROOT_DIR})
+IF(${VInspectorAPI})
+ message("VINSPECTOR is defined")
SET(PROJECT_LIBRARIES ${PROJECT_LIBRARIES} ${VInspectorAPI})
SET(PROJECT_INCLUDES ${PROJECT_INCLUDES} ${VINSPECTOR_INCLUDE_DIR})
SET(PROJECT_INCLUDES ${PROJECT_INCLUDES} ${APPELEMENTS_INCLUDE_DIR})
ENDIF(NOT ${HAVE_SALOME})
-IF(EXISTS ${DFBROWSER_ROOT_DIR})
+IF(${DFBrowserAPI})
+ message("DFBROWSER is defined")
SET(PROJECT_LIBRARIES ${PROJECT_LIBRARIES} ${DFBrowserAPI})
SET(PROJECT_INCLUDES ${PROJECT_INCLUDES} ${DFBROWSER_INCLUDE_DIR})