mirror of
https://github.com/reactos/CMake.git
synced 2025-01-23 12:15:20 +00:00
Merge topic 'FortranCInterface-vs-intel-workaround'
c9ee05d8 FortranCInterface: Fix support for VS with Intel toolset
This commit is contained in:
commit
e8f55c1737
@ -348,7 +348,8 @@ function(FortranCInterface_VERIFY)
|
||||
try_compile(FortranCInterface_VERIFY_${lang}_COMPILED
|
||||
${FortranCInterface_BINARY_DIR}/Verify${lang}
|
||||
${FortranCInterface_SOURCE_DIR}/Verify
|
||||
VerifyFortranC
|
||||
VerifyFortranC # project name
|
||||
VerifyFortranC # target name
|
||||
CMAKE_FLAGS -DVERIFY_CXX=${verify_cxx}
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON
|
||||
"-DCMAKE_C_FLAGS:STRING=${CMAKE_C_FLAGS}"
|
||||
|
@ -30,7 +30,8 @@ set(_result)
|
||||
try_compile(FortranCInterface_COMPILED
|
||||
${FortranCInterface_BINARY_DIR}
|
||||
${FortranCInterface_SOURCE_DIR}
|
||||
FortranCInterface
|
||||
FortranCInterface # project name
|
||||
FortranCInterface # target name
|
||||
CMAKE_FLAGS
|
||||
"-DCMAKE_C_FLAGS:STRING=${CMAKE_C_FLAGS}"
|
||||
"-DCMAKE_Fortran_FLAGS:STRING=${CMAKE_Fortran_FLAGS}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user