gcc compatibility

This commit is contained in:
Thomas Krijnen
2018-01-17 17:00:27 +01:00
parent cf1de365e7
commit e6499ef3b1
19 changed files with 1145 additions and 911 deletions
+5 -1
View File
@@ -207,7 +207,7 @@ if(HDF5_SUPPORT)
# An additional lib- prefix is added by HDF5 to denote static libraries
SET(HDF5_LIBRARIES libhdf5_cpp libhdf5 libzlib)
ELSE()
SET(HDF5_LIBRARIES hdf5_cpp hdf5 zlib)
SET(HDF5_LIBRARIES hdf5_cpp hdf5 z szip)
ENDIF()
endif()
@@ -450,6 +450,10 @@ ENDIF()
IF(HDF5_SUPPORT)
ADD_SUBDIRECTORY(../src/hdf5_usecases hdf5_usecases)
ENDIF()
if(NOT MSVC)
add_definitions(-std=c++14)
endif()
# CMake installation targets
INSTALL(FILES ${IFCPARSE_H_FILES} DESTINATION include/ifcparse)