Skip to content

Commit

Permalink
In an effort to accomodate a broader range of linux platforms, trying…
Browse files Browse the repository at this point in the history
… to reduce the minimum supported version of cmake. See (#135).
  • Loading branch information
Ward Fisher committed Oct 20, 2015
1 parent ba57c62 commit cdb0ae4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
12 changes: 5 additions & 7 deletions liblib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cdb0ae4

Please sign in to comment.