Commit da8b01d7 authored by Andrew Wood's avatar Andrew Wood

Fix PGI build on OSX

parent f5239253
Pipeline #2294 failed with stage
in 0 seconds
......@@ -62,14 +62,14 @@ include(${CONFIGURE_PACK_TARGET})
list(APPEND SOURCES ${INFO_FILE})
set(MCMODEL "-mcmodel=medium")
if(APPLE)
set(MCMODEL " ")
endif()
if(${CMAKE_Fortran_COMPILER_ID} STREQUAL "GNU")
set(INFO_FLAGS "-Wno-conversion -fno-range-check")
set_source_files_properties(${INFO_FILE} PROPERTIES COMPILE_FLAGS
${INFO_FLAGS})
if(APPLE)
set(MCMODEL " ")
endif()
endif()
if(NOT TARGET sdf)
......
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