ENDIF(USE_CREA)
#-----------------------------------------------------------------------------
-
#-----------------------------------------------------------------------------
IF(USE_QT4)
IF(NOT QT_FOUND)
-
INCLUDE(${CREA_CMAKE_DIR}/CREAMacro_FindAndUseQt.cmake)
#FIND_PACKAGE(Qt4 REQUIRED)
-
IF(QT_FOUND)
MESSAGE ( STATUS "=======================================")
MESSAGE ( STATUS "Looking for QT4... found")
MESSAGE ( STATUS "* Inc Dir = ${QT_INCLUDE_DIR}")
MESSAGE ( STATUS "* Version = ${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}.${QT_VERSION_PATCH}")
INCLUDE(${QT_USE_FILE})
-
CREA_DEFINE( USE_QT )
-
ENDIF(QT_FOUND)
ENDIF(NOT QT_FOUND)
ENDIF(USE_QT4)
-
#JFGA Pruebas WT
#MESSAGE ( "======================================= SET CMAKE USE_WT JFGA CREAMacro_FindAndUseLibraries.cmake")
#SET(USE_WT OFF)
if (OPENMP_FOUND)
# include_directories("${OPENMP_INCLUDES}")
-message(EEE oooopppeeennnn OPENMP_LIBRARIES ${OPENMP_LIBRARIES} )
-message(EEE oooopppeeennnn OPENMP_LIBRARIES ${OPENMP_LIBRARIES} )
-message(EEE oooopppeeennnn OPENMP_LIBRARIES ${OPENMP_LIBRARIES} )
-message(EEE oooopppeeennnn OPENMP_LIBRARIES ${OPENMP_LIBRARIES} )
-message(EEE oooopppeeennnn OPENMP_LIBRARIES ${OPENMP_LIBRARIES} )
-message(EEE oooopppeeennnn OPENMP_LIBRARIES ${OPENMP_LIBRARIES} )
-message(EEE oooopppeeennnn OPENMP_LIBRARIES ${OPENMP_LIBRARIES} )
-
link_directories( /opt/local/lib/libomp )
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
ENDIF(USE_XERCES)
+IF(WIN32)
+ # dlfcn.h
+ INCLUDE_DIRECTORIES( $ENV{CREATIS_THIRDPARTYDLLS_DIRS}/../include )
+ENDIF(WIN32)
+
ENDMACRO(CREA_FIND_AND_USE_LIBRARIES)