[F] Fixed cmake file style
This commit is contained in:
parent
6b50db82e6
commit
d7a17e9dc5
@ -108,7 +108,8 @@ if("${FORT_COMPILER}" STREQUAL "GNU" OR "${FORT_COMPILER}" STREQUAL "Clang")
|
||||
endif()
|
||||
|
||||
# Hack for some gcc versions
|
||||
if("${FORT_COMPILER}" STREQUAL "GNU" AND NOT "${FORT_BUILD_TYPE}" STREQUAL "common")
|
||||
if("${FORT_COMPILER}" STREQUAL "GNU"
|
||||
AND NOT "${FORT_BUILD_TYPE}" STREQUAL "common")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fuse-ld=gold")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fuse-ld=gold")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user