Some checks failed
sm-rpc / build (Debug, arm-linux-gnueabihf) (push) Successful in 1m34s
sm-rpc / build (Debug, aarch64-linux-gnu) (push) Successful in 2m46s
sm-rpc / build (Debug, host.gcc) (push) Failing after 1m28s
sm-rpc / build (Release, aarch64-linux-gnu) (push) Successful in 2m14s
sm-rpc / build (Release, arm-linux-gnueabihf) (push) Successful in 2m8s
sm-rpc / build (Debug, mipsel-linux-gnu) (push) Successful in 5m35s
sm-rpc / build (Release, host.gcc) (push) Failing after 1m55s
sm-rpc / build (Release, mipsel-linux-gnu) (push) Successful in 7m21s
20 lines
620 B
CMake
20 lines
620 B
CMake
# fallback-macros.cmake -- CMake fallback macros
|
|
# Copyright (C) 2022 Nathan Moinvaziri
|
|
# Licensed under the Zlib license, see LICENSE.md for details
|
|
|
|
# CMake less than version 3.5.2
|
|
if(NOT COMMAND add_compile_options)
|
|
macro(add_compile_options options)
|
|
string(APPEND CMAKE_C_FLAGS ${options})
|
|
string(APPEND CMAKE_CXX_FLAGS ${options})
|
|
endmacro()
|
|
endif()
|
|
|
|
# CMake less than version 3.14
|
|
if(NOT COMMAND add_link_options)
|
|
macro(add_link_options options)
|
|
string(APPEND CMAKE_EXE_LINKER_FLAGS ${options})
|
|
string(APPEND CMAKE_SHARED_LINKER_FLAGS ${options})
|
|
endmacro()
|
|
endif()
|