# Headers
SET(CPPUNIT_INCLUDE_TO_FIND cppunit/extensions/HelperMacros.h)
-FIND_PATH(CPPUNIT_INCLUDE_DIR ${CPPUNIT_INCLUDE_TO_FIND})
+FIND_PATH(CPPUNIT_INCLUDE_DIRS ${CPPUNIT_INCLUDE_TO_FIND})
# Libraries
IF(WINDOWS)
ENDIF(WINDOWS)
INCLUDE(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(CppUnit REQUIRED_VARS CPPUNIT_INCLUDE_DIR CPPUNIT_LIBRARIES)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(CppUnit REQUIRED_VARS CPPUNIT_INCLUDE_DIRS CPPUNIT_LIBRARIES)
NAMES python.py PATHS "/lib/python/omniidl_be" DOC ${_doc})
ELSE()
FIND_PATH(OMNIORB_PYTHON_BACKEND
- NAMES python.py
+ NAMES __init__.py
PATHS "/lib/python${_py_version}/site-packages/omniidl_be" "/usr/lib/omniidl/omniidl_be"
DOC ${_doc})
ENDIF()
SET(Boost_USE_STATIC_RUNTIME OFF)
SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(Boost Boost_INCLUDE_DIRS 1)
+IF(Boost_FOUND OR BOOST_FOUND)
+ MESSAGE(STATUS "Boost include dirs is: ${Boost_INCLUDE_DIRS}")
+ENDIF()
#MARK_AS_ADVANCED()
# !! Please read the generic detection procedure in SalomeMacros.cmake !!
#
-SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(CppUnit CPPUNIT_INCLUDE_DIR 1)
-MARK_AS_ADVANCED(CPPUNIT_INCLUDE_DIR CPPUNIT_LIBRARIES)
+SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(CppUnit CPPUNIT_INCLUDE_DIRS 1)
+MARK_AS_ADVANCED(CPPUNIT_INCLUDE_DIRS CPPUNIT_LIBRARIES)
# Override the variable - don't append to it, as it would give precedence
# to what was stored there before!
SET(CMAKE_PREFIX_PATH "${${pkg_UC}_ROOT_DIR}")
+ #MESSAGE("pkg ${pkg} / ${CMAKE_PREFIX_PATH}")
ELSE()
MESSAGE(STATUS "Found ${pkg} in CONFIG mode!")
ENDIF()