In an effort to accomodate a broader range of linux platforms, trying to reduce the minimum supported version of cmake. See (https://github.com/Unidata/netcdf-c/issues/135).

This commit is contained in:
Ward Fisher 2015-10-20 09:59:42 -06:00
parent ba57c62348
commit cdb0ae4baa
2 changed files with 6 additions and 8 deletions

View File

@ -7,7 +7,7 @@
##################################
#Minimum required CMake Version
cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 2.8.11)
#Project Name
project(netCDF C)

View File

@ -104,13 +104,11 @@ SET_TARGET_PROPERTIES(netcdf PROPERTIES
INSTALL(
TARGETS netcdf EXPORT netCDFTargets
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
COMPONENT libraries
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
COMPONENT libraries
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
COMPONENT libraries
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT libraries
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)
SET(ALL_TLL_LIBS ${TLL_LIBS} PARENT_SCOPE)