Commit 4ea65e38 authored by Mathieu Faverge's avatar Mathieu Faverge

Merge branch 'issue70' into 'master'

Fix Issue #70

Closes #70

See merge request solverstack/chameleon!144
parents 69d821d3 96819268
......@@ -1015,10 +1015,8 @@ add_subdirectory(runtime)
enable_testing()
include(CTest)
# Necessary to compile executables (temporary)
# should use SystemDetection.cmake module?
string(REGEX MATCH ".*ifort$" _match_ifort ${CMAKE_Fortran_COMPILER})
if(_match_ifort)
# Necessary to compile C executables linked with ifort
if(${CMAKE_Fortran_COMPILER_ID} STREQUAL "Intel")
message(STATUS "Add -nofor_main to the Fortran linker (Intel compiler)")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -nofor_main")
endif(_match_ifort)
......
Subproject commit 7ad2afcef2901aa04c772369b3aa0deb4da9158b
Subproject commit 621a15b8241717f9e8eb5774eadcb6b6d394e99a
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment