mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Tests: Fix FortranOnly test with Intel Fortran VS integration
This commit is contained in:
@@ -200,7 +200,9 @@ if(CMAKE_Fortran_COMPILE_OPTIONS_PREPROCESS_OFF AND
|
||||
endif()
|
||||
|
||||
# Test that we are safe from infinite include recursion in dependency scanner
|
||||
# (SunPro Fortran compiler does not support recursive inclusion)
|
||||
if (NOT CMAKE_Fortran_COMPILER_ID STREQUAL "SunPro")
|
||||
if (# The SunPro Fortran compiler does not support recursive inclusion
|
||||
NOT CMAKE_Fortran_COMPILER_ID STREQUAL "SunPro"
|
||||
# The Intel Fortran VS integration overflows its stack.
|
||||
AND NOT CMAKE_GENERATOR MATCHES "Visual Studio")
|
||||
add_executable(test_include_loop test_include_loop.F)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user