Skip to content

Commit

Permalink
Build fixes for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Burlen Loring committed May 29, 2012
1 parent 3dd6560 commit 5dd018c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,12 @@ set(SM_CXX_SOURCES
vtkSQVolumeSource.cxx
vtkSQVortexFilter.cxx
vtkSQVortexDetect.cxx
vtkSQVPICReader.cxx
)

set(SQTK_PROCESS_MONITOR ON CACHE BOOL "Build the process monitor.")
if (APPLE)
set(SQTK_PROCESS_MONITOR OFF)
endif()
if (SQTK_PROCESS_MONITOR)
message(STATUS "Building process monitor.")
set(SM_CXX_SOURCES ${SM_CXX_SOURCES} vtkSQProcessMonitor.cxx)
Expand Down Expand Up @@ -124,14 +126,14 @@ set(CXX_SOURCES
RectilinearDecomp.cxx
RefCountedPointer.cxx
StreamlineData.cxx
SystemInterfaceFactory.cxx
TerminationCondition.cxx
TopologicalClassSelector.cxx
UnstructuredFieldDisplacementMap.cxx
UnstructuredFieldTopologyMap.cxx
UnstructuredGridCellCopier.cxx
vtkSQHemisphereSourceConfigurationWriter.cxx
vtkSQHemisphereSourceConfigurationReader.cxx
vtkSQLog.cxx
vtkSQMetaDataKeys.cxx
vtkSQOOCBOVReader.cxx
vtkSQOOCReader.cxx
Expand All @@ -143,6 +145,10 @@ set(CXX_SOURCES
)

if (SQTK_PROCESS_MONITOR)
set(CXX_SOURCES
${CXX_SOURCES}
SystemInterfaceFactory.cxx
)
if (WIN32)
set(CXX_SOURCES
${CXX_SOURCES}
Expand All @@ -152,14 +158,12 @@ if (SQTK_PROCESS_MONITOR)
elseif (APPLE)
set(CXX_SOURCES
${CXX_SOURCES}
vtkSQLog.cxx
UnixSystemInterface.cxx
OSXSystemInterface.cxx
)
else()
set(CXX_SOURCES
${CXX_SOURCES}
vtkSQLog.cxx
UnixSystemInterface.cxx
LinuxSystemInterface.cxx
)
Expand Down

0 comments on commit 5dd018c

Please sign in to comment.