mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
Put threads find_package back where it was.
Moving the threads find_package affects the windows build.
This commit is contained in:
parent
7b2ad585a6
commit
a007971bd4
@ -794,6 +794,8 @@ IF(USE_HDF5)
|
||||
IF(NOT HDF5_C_LIBRARY)
|
||||
SET(HDF5_C_LIBRARY hdf5)
|
||||
ENDIF()
|
||||
|
||||
FIND_PACKAGE(Threads)
|
||||
ENDIF(HDF5_C_LIBRARY AND HDF5_HL_LIBRARY AND HDF5_INCLUDE_DIR)
|
||||
|
||||
# There is a missing case in the above code so default it
|
||||
@ -925,8 +927,6 @@ IF(USE_HDF5)
|
||||
|
||||
ENDIF(USE_HDF5)
|
||||
|
||||
FIND_PACKAGE(Threads)
|
||||
|
||||
# See if we have libcurl
|
||||
FIND_PACKAGE(CURL)
|
||||
ADD_DEFINITIONS(-DCURL_STATICLIB=1)
|
||||
|
Loading…
Reference in New Issue
Block a user