MACRO(CREA_FINDANDUSEWT)
+
+
SET (WT_CONNECTOR "wthttp" CACHE STRING "Connector used (wthttp or wtfcgi)")
SET(WT_LIBRARIES wt wtfcgi wtext)
# SET(WT_LIBRARIES wt wthttp wtext)
- INCLUDE_DIRECTORIES(/tmpEED/tmpWt/wtInstall/include)
- LINK_DIRECTORIES(/tmpEED/tmpWt/wtInstall/lib)
+ INCLUDE_DIRECTORIES($ENV{WT_DIR}/../../include)
+ LINK_DIRECTORIES($ENV{WT_DIR}/../../lib/wt-3.3.4)
+
CREA_DEFINE( USE_WT)
CREA_DEFINE( _USE_WT_ )
+
+# FIND_PACKAGE(WT REQUIRED)
+# IF(WT_FOUND)
+# SET (WT_CONNECTOR "wthttp" CACHE STRING "Connector used (wthttp or wtfcgi)")
+# SET(WT_LIBRARIES wt wtfcgi wtext)
+# ## SET(WT_LIBRARIES wt wthttp wtext)
+# INCLUDE_DIRECTORIES(${WT_USE_FILE})
+# LINK_DIRECTORIES(${WT_DIR})
+# CREA_DEFINE( USE_WT)
+# CREA_DEFINE( _USE_WT_ )
+# ELSE(WT_FOUND)
+# message(FATAL_ERROR "---------------------WT_DIR not found")
+# ENDIF(VTK_FOUND)
+
+
+
+
ENDMACRO(CREA_FINDANDUSEWT)