SuperTuxKart 1.5 upstream source (from official release tarball)
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
@GCVF_PREVIOUS_FILE@
|
||||
|
||||
if(MSVC)
|
||||
if(NOT "${MSVC_VERSION}" STREQUAL "@MSVC_VERSION@")
|
||||
set(PACKAGE_VERSION "${PACKAGE_VERSION} (@GCVF_WIN_CXXLAYOUT@)")
|
||||
set(PACKAGE_VERSION_UNSUITABLE TRUE)
|
||||
return()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
macro(_gcvf_compute_cxxabi _var _compilerid _compilerver)
|
||||
set(${_var})
|
||||
if("${_compilerid}" STREQUAL "GNU" AND NOT ("${_compilerver}" STREQUAL ""))
|
||||
if("${_compilerver}" VER_LESS 5.0)
|
||||
# This is pre-gcc5, not compatible with post-gcc5
|
||||
set(${_var} "g++ < 5.0")
|
||||
else()
|
||||
set(${_var} "g++ >= 5.0")
|
||||
endif()
|
||||
endif()
|
||||
endmacro()
|
||||
_gcvr_compute_cxxabi(_installed_cxx "@CMAKE_CXX_COMPILER_ID@" "@CMAKE_CXX_COMPILER_VERSION@")
|
||||
_gcvr_compute_cxxabi(_current_cxx "${CMAKE_CXX_COMPILER_ID}" "${CMAKE_CXX_COMPILER_VERSION}")
|
||||
|
||||
# if(NOT "${_installed_cxx}" STREQUAL "${_current_cxx}")
|
||||
# set(PACKAGE_VERSION "${PACKAGE_VERSION} (${_installed_cxx})")
|
||||
# set(PACKAGE_VERSION_UNSUITABLE TRUE)
|
||||
# return()
|
||||
# endif()
|
||||
Reference in New Issue
Block a user