mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-18 15:55:12 +08:00
Merged final changes against netcdf-cmake branch in preparation for
4.3.0-rc1
This commit is contained in:
parent
b0b6c77a3e
commit
9ad4383ff8
@ -11,6 +11,12 @@ SET(NetCDF_VERSION_NOTE "-rc1")
|
||||
SET(NetCDF_VERSION ${NetCDF_VERSION_MAJOR}.${NetCDF_VERSION_MINOR}.${NetCDF_VERSION_PATCH}${NetCDF_VERSION_NOTE})
|
||||
SET(VERSION ${NetCDF_VERSION})
|
||||
|
||||
# Set some default C Flags if we are using GCC
|
||||
IF(CMAKE_COMPILER_IS_GNUCC)
|
||||
SET(CMAKE_C_FLAGS "-g -O2")
|
||||
ENDIF()
|
||||
|
||||
|
||||
ENABLE_TESTING()
|
||||
INCLUDE(CTest)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user