Skip to content

Commit

Permalink
Merge pull request BRAINSia#185 from Chaircrusher/Build_Fixes
Browse files Browse the repository at this point in the history
ENH: Push DoubleToString class to BRAINSCommonLib
  • Loading branch information
Kent Williams committed Feb 5, 2013
2 parents e9c2f06 + 7eefbd9 commit bd56bd5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
File renamed without changes.
6 changes: 6 additions & 0 deletions BRAINSTools.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ include(${GenerateCLP_USE_FILE})
include(${SlicerExecutionModel_USE_FILE})
include(${SlicerExecutionModel_CMAKE_DIR}/SEMMacroBuildCLI.cmake)

#-----------------------------------------------------------------------------
# use double-conversion library for consistent printing of double & float
#-----------------------------------------------------------------------------
find_package(double-conversion REQUIRED)
include_directories(${double-conversion_INCLUDE_DIRS})

if(USE_ANTS)
# find ANTS includes
message( STATUS "XXXXXXXXXXXXX ${BOOST_INCLUDE_DIR} XXXXXXX")
Expand Down
3 changes: 0 additions & 3 deletions DWIConvert/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ enable_testing()

find_package(ITK 4 REQUIRED)

find_package(double-conversion REQUIRED)
include_directories(${double-conversion_INCLUDE_DIRS})

set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR} ${CMAKE_MODULE_PATH})

set(DWIConvertSupportLib_SRCS
Expand Down
5 changes: 3 additions & 2 deletions SuperBuild/VTKPatch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ file(WRITE ${ftglCMakeLists_txt} "${code}")

#set(vtkVRMLImporter
# ${VTKSource}/IO/Import/vtkVRMLImporter.cxx)
file(GLOB_RECURSE vtkVRMLImporter RELATIVE ${VTKSource} "vtkVRMLImporter.cxx")
set(vtkVRMLImporter "${VTKSource}/${vtkVRMLImporter}")
find_file(vtkVRMLImporter vtkVRMLImporter.cxx
HINTS ${VTKSource}/Hybrid ${VTKSource}/IO/IMPORT
)
message("vtkVRMLImporter=${vtkVRMLImporter}")

file(READ ${vtkVRMLImporter}
Expand Down

0 comments on commit bd56bd5

Please sign in to comment.