added -std=c++11 when FastBit 2.X is beign used
@@ -46,11 +46,15 @@ INCLUDE(${VISIT_SOURCE_DIR}/CMake/SetUpThirdParty.cmake)
IF(DEFINED FASTBIT_VERSION)
IF(${FASTBIT_VERSION} VERSION_LESS "2.0.0")
+ MESSAGE(STATUS " FASTBIT_VERSION is set for FastBit 1.X")
SET(FB_INCLUDE include)
ELSE(${FASTBIT_VERSION} VERSION_LESS "2.0.0")
+ MESSAGE(STATUS " FASTBIT_VERSION is set for FastBit 2.X")
SET(FB_INCLUDE include/fastbit)
+ SET(VISIT_CXX_FLAGS "${VISIT_CXX_FLAGS} -std=c++11" CACHE STRING "CXX flags" FORCE)
ENDIF(${FASTBIT_VERSION} VERSION_LESS "2.0.0")
ELSE(DEFINED FASTBIT_VERSION)
+ MESSAGE(WARNING " FASTBIT_VERSION is not set assuming include path for FastBit 1.X")
SET(FB_INCLUDE include)
ENDIF(DEFINED FASTBIT_VERSION)
