update config.sh

This commit is contained in:
2021-08-01 19:22:30 +08:00
parent 0c6e4bdad7
commit 2414cfe885
3 changed files with 64 additions and 13 deletions

View File

@@ -11,5 +11,10 @@ if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
endif()
message(STATUS "Install prefix: " ${CMAKE_INSTALL_PREFIX})
# 设置netcdf c接口的库文件地址
set(LIB_NETCDF_INC ${LIB_NETCDF}/include)
set(LIB_NETCDF_LIB ${LIB_NETCDF}/lib)
message(STATUS "netCDF directory: " ${LIB_NETCDF})
# 添加源文件地址
add_subdirectory(src/)