mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-30 16:10:44 +08:00
Changed the method by which the cmake version was being compared.
This commit is contained in:
parent
6341067733
commit
48fedd0d19
@ -109,7 +109,7 @@ SET_TARGET_PROPERTIES(netcdf PROPERTIES
|
||||
# https://github.com/Unidata/netcdf-c/issues/135
|
||||
# for more information.
|
||||
###
|
||||
IF(${CMAKE_VERSION} LESS 2.8.12)
|
||||
IF(${CMAKE_VERSION} VERSION_LESS 2.8.12)
|
||||
INSTALL(
|
||||
TARGETS netcdf EXPORT netCDFTargets
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries
|
||||
|
Loading…
Reference in New Issue
Block a user