mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
adding run_zstd_test.sh to cmake build
This commit is contained in:
parent
c93d6cc7cd
commit
78b762d6d3
@ -423,7 +423,7 @@ if(NC_EXTRA_DEPS)
|
||||
foreach(_DEP ${DEPS_LIST})
|
||||
string(REGEX REPLACE "^-l" "" _LIB ${_DEP})
|
||||
FIND_LIBRARY("${_LIB}_DEP" NAMES "${_LIB}" "lib${_LIB}")
|
||||
message(${${_LIB}_DEP})
|
||||
message(STATUS ${${_LIB}_DEP})
|
||||
if("${${_LIB}_DEP}" STREQUAL "${_LIB}_DEP-NOTFOUND")
|
||||
message(FATAL_ERROR "Error finding ${_LIB}.")
|
||||
else()
|
||||
@ -431,7 +431,7 @@ if(NC_EXTRA_DEPS)
|
||||
endif()
|
||||
set(EXTRA_DEPS ${EXTRA_DEPS} "${${_LIB}_DEP}")
|
||||
endforeach()
|
||||
message("Extra deps: ${EXTRA_DEPS}")
|
||||
message(STATUS "Extra deps: ${EXTRA_DEPS}")
|
||||
list(REMOVE_DUPLICATES EXTRA_DEPS)
|
||||
set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${EXTRA_DEPS})
|
||||
endif()
|
||||
@ -663,7 +663,7 @@ if(ENABLE_PLUGIN_INSTALL)
|
||||
set(PLUGIN_INSTALL_DIR "/usr/local/hdf5/lib/plugin")
|
||||
endif()
|
||||
endif()
|
||||
message("Defaulting to -DPLUGIN_INSTALL_DIR=${PLUGIN_INSTALL_DIR}")
|
||||
message(STATUS "Defaulting to -DPLUGIN_INSTALL_DIR=${PLUGIN_INSTALL_DIR}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@ -678,7 +678,7 @@ if(ENABLE_PLUGIN_INSTALL)
|
||||
# Get last element
|
||||
list(GET PATH_LIST -1 PLUGIN_INSTALL_DIR)
|
||||
set(PLUGIN_INSTALL_DIR_SETTING "${PLUGIN_INSTALL_DIR}")
|
||||
message("Final value of-DPLUGIN_INSTALL_DIR=${PLUGIN_INSTALL_DIR}")
|
||||
message(STATUS "Final value of-DPLUGIN_INSTALL_DIR=${PLUGIN_INSTALL_DIR}")
|
||||
else() # No option specified
|
||||
unset(PLUGIN_INSTALL_DIR)
|
||||
unset(PLUGIN_INSTALL_DIR CACHE)
|
||||
|
Loading…
Reference in New Issue
Block a user