[F] Fixed cmake file style

This commit is contained in:
seleznevae 2019-05-24 20:25:13 +03:00
parent 6b50db82e6
commit d7a17e9dc5

View File

@ -108,7 +108,8 @@ if("${FORT_COMPILER}" STREQUAL "GNU" OR "${FORT_COMPILER}" STREQUAL "Clang")
endif() endif()
# Hack for some gcc versions # 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_C_FLAGS "${CMAKE_C_FLAGS} -fuse-ld=gold")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fuse-ld=gold") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fuse-ld=gold")
endif() endif()