1
0
Fork 0

[F] Fixed cmake file style

This commit is contained in:
seleznevae 2019-05-24 20:25:13 +03:00
parent 6b50db82e6
commit d7a17e9dc5
1 changed files with 2 additions and 1 deletions

View File

@ -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()