CMakeLists.txt 1.08 KB
Newer Older
1
set(vtksys_LIBRARIES vtksys)
2
vtk_module_export_info()
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

#-----------------------------------------------------------------------------
# Configure KWSys to be named "vtksys".
SET(KWSYS_NAMESPACE vtksys)
SET(KWSYS_USE_Base64 1)
SET(KWSYS_USE_CommandLineArguments 1)
SET(KWSYS_USE_DynamicLoader 1)
SET(KWSYS_USE_Process 1)
SET(KWSYS_USE_RegularExpression 1)
SET(KWSYS_USE_SystemTools 1)
SET(KWSYS_USE_SystemInformation 1)
SET(KWSYS_USE_FundamentalType 1)
SET(KWSYS_USE_MD5 1)
SET(KWSYS_USE_Glob 1)
set(KWSYS_HEADER_ROOT ${CMAKE_CURRENT_BINARY_DIR})
18
SET(KWSYS_PROPERTIES_CXX ${VTK_LIBRARY_PROPERTIES})
19 20 21 22 23 24 25 26 27 28 29 30 31 32
SET(KWSYS_INSTALL_EXPORT_NAME ${VTK_INSTALL_EXPORT_NAME})

if(NOT VTK_INSTALL_NO_LIBRARIES)
  set(KWSYS_INSTALL_BIN_DIR ${VTK_INSTALL_RUNTIME_DIR})
  set(KWSYS_INSTALL_LIB_DIR ${VTK_INSTALL_LIBRARY_DIR})
  set(KWSYS_INSTALL_COMPONENT_NAME_RUNTIME RuntimeLibraries)
endif()
if(NOT VTK_INSTALL_NO_DEVELOPMENT)
  set(KWSYS_INSTALL_INCLUDE_DIR ${VTK_INSTALL_INCLUDE_DIR})
  set(KWSYS_INSTALL_COMPONENT_NAME_DEVELOPMENT Development)
endif()

add_subdirectory(vtksys)
vtk_target(${KWSYS_NAMESPACE} NO_INSTALL)