mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-10-12 08:01:29 +08:00
Forward compiler flags to Fortran workaround
(transplanted from d6d638c751f2155b103678151a7028b4dbd435f5 )
This commit is contained in:
parent
e304a92f41
commit
f78dffffda
@ -24,6 +24,8 @@ function(workaround_9220 language language_works)
|
||||
set(text
|
||||
"project(test NONE)
|
||||
cmake_minimum_required(VERSION 2.6.0)
|
||||
set (CMAKE_Fortran_FLAGS \"${CMAKE_Fortran_FLAGS}\")
|
||||
set (CMAKE_EXE_LINKER_FLAGS \"${CMAKE_EXE_LINKER_FLAGS}\")
|
||||
enable_language(${language} OPTIONAL)
|
||||
")
|
||||
file(REMOVE_RECURSE ${CMAKE_BINARY_DIR}/language_tests/${language})
|
||||
|
Loading…
x
Reference in New Issue
Block a user