mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
Update CMake
This commit is contained in:
parent
f0e2fc6c62
commit
41010b8d1e
@ -48,7 +48,11 @@ set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCTEST_CONFIGURATION_TYPE:STRING=${
|
||||
##################################################################
|
||||
|
||||
if(NOT DEFINED INSTALLDIR)
|
||||
set(INSTALLDIR "C:/Program Files/HDF_Group/@HDF5_PACKAGE_NAME@/@HDF5_PACKAGE_VERSION@")
|
||||
if(WIN32)
|
||||
set(INSTALLDIR "C:/Program Files/HDF_Group/@HDF5_PACKAGE_NAME@/@HDF5_PACKAGE_VERSION@")
|
||||
else()
|
||||
set(INSTALLDIR "@CMAKE_INSTALL_PREFIX@")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED CTEST_SOURCE_NAME)
|
||||
@ -70,7 +74,7 @@ set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DSITE:STRING=${CTEST_SITE} -DBUILDN
|
||||
|
||||
#TAR_SOURCE - name of tarfile
|
||||
#if(NOT DEFINED TAR_SOURCE)
|
||||
# set(CTEST_USE_TAR_SOURCE "HDF5Examples-1.10.10-Source")
|
||||
# set(CTEST_USE_TAR_SOURCE "HDF5Examples-1.12.4-Source")
|
||||
#endif()
|
||||
|
||||
###############################################################################################################
|
||||
|
@ -1,5 +1,5 @@
|
||||
<CPackWiXPatch>
|
||||
<CPackWiXFragment Id="CM_CP_libraries.bin.hdf5.dll">
|
||||
<CPackWiXFragment Id="CM_CP_libraries.bin.hdf5.dll">
|
||||
<Environment Id="PATH"
|
||||
Name="PATH"
|
||||
Value="[CM_DP_libraries.bin]"
|
||||
@ -7,5 +7,5 @@
|
||||
Part="last"
|
||||
Action="set"
|
||||
System="yes"/>
|
||||
</CPackWiXFragment>
|
||||
</CPackWiXFragment>
|
||||
</CPackWiXPatch>
|
||||
|
@ -273,7 +273,7 @@ macro (HDF_README_PROPERTIES target_fortran)
|
||||
set (BINARY_PLATFORM "${BINARY_PLATFORM}, using VISUAL STUDIO 2015")
|
||||
else ()
|
||||
set (BINARY_PLATFORM "${BINARY_PLATFORM}, using VISUAL STUDIO 2017")
|
||||
endif ()
|
||||
endif ()
|
||||
else ()
|
||||
set (BINARY_PLATFORM "${BINARY_PLATFORM}, using VISUAL STUDIO ${CMAKE_C_COMPILER_VERSION}")
|
||||
endif ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user