3 # Load the compiler settings used for GDCM
4 IF(GDCM_BUILD_SETTINGS_FILE)
5 INCLUDE(${CMAKE_ROOT}/Modules/CMakeImportBuildSettings.cmake)
6 CMAKE_IMPORT_BUILD_SETTINGS(${GDCM_BUILD_SETTINGS_FILE})
7 ENDIF(GDCM_BUILD_SETTINGS_FILE)
9 # Add compiler flags needed to use VTK.
10 # SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${VTK_REQUIRED_C_FLAGS}")
11 # SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${VTK_REQUIRED_CXX_FLAGS}")
12 # SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${VTK_REQUIRED_EXE_LINKER_FLAGS}")
13 # SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${VTK_REQUIRED_SHARED_LINKER_FLAGS}")
14 # SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${VTK_REQUIRED_MODULE_LINKER_FLAGS}")
16 # Add include directories needed to use GDCM
17 INCLUDE_DIRECTORIES(${GDCM_INCLUDE_DIRS})
19 # Add link directories needed to use GDCM
20 LINK_DIRECTORIES(${GDCM_LIBRARY_DIRS})