mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-21 07:51:46 +08:00
Add toolset option
This commit is contained in:
parent
bb9c9f2834
commit
0563edffa1
@ -17,8 +17,8 @@ cmake_minimum_required(VERSION 3.2.2 FATAL_ERROR)
|
|||||||
###############################################################################################################
|
###############################################################################################################
|
||||||
|
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
if()
|
if("@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CMAKE_GENERATOR_TOOLSET "@GENERATOR_TOOLSET@"
|
set(CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
endif()
|
endif()
|
||||||
set(CTEST_DASHBOARD_ROOT ${CTEST_SCRIPT_DIRECTORY})
|
set(CTEST_DASHBOARD_ROOT ${CTEST_SCRIPT_DIRECTORY})
|
||||||
|
|
||||||
|
@ -17,8 +17,8 @@ cmake_minimum_required(VERSION 3.2.2 FATAL_ERROR)
|
|||||||
###############################################################################################################
|
###############################################################################################################
|
||||||
|
|
||||||
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
||||||
if()
|
if("@CMAKE_GENERATOR_TOOLSET@")
|
||||||
set(CMAKE_GENERATOR_TOOLSET "@GENERATOR_TOOLSET@"
|
set(CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
endif()
|
endif()
|
||||||
set(CTEST_DASHBOARD_ROOT ${CTEST_SCRIPT_DIRECTORY})
|
set(CTEST_DASHBOARD_ROOT ${CTEST_SCRIPT_DIRECTORY})
|
||||||
|
|
||||||
|
@ -44,6 +44,7 @@ set (${HDF5_PACKAGE_NAME}_ENABLE_SZIP_ENCODING @HDF5_ENABLE_SZIP_ENCODING@)
|
|||||||
set (${HDF5_PACKAGE_NAME}_BUILD_SHARED_LIBS @BUILD_SHARED_LIBS@)
|
set (${HDF5_PACKAGE_NAME}_BUILD_SHARED_LIBS @BUILD_SHARED_LIBS@)
|
||||||
set (${HDF5_PACKAGE_NAME}_PACKAGE_EXTLIBS @HDF5_PACKAGE_EXTLIBS@)
|
set (${HDF5_PACKAGE_NAME}_PACKAGE_EXTLIBS @HDF5_PACKAGE_EXTLIBS@)
|
||||||
set (${HDF5_PACKAGE_NAME}_EXPORT_LIBRARIES @HDF5_LIBRARIES_TO_EXPORT@)
|
set (${HDF5_PACKAGE_NAME}_EXPORT_LIBRARIES @HDF5_LIBRARIES_TO_EXPORT@)
|
||||||
|
set (${HDF5_PACKAGE_NAME}_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# Dependencies
|
# Dependencies
|
||||||
|
Loading…
Reference in New Issue
Block a user