Files
SDK_GD32W51x/PROT/trusted-firmware-m/cmake/Platform/Embedded.cmake
2023-05-18 18:53:00 +08:00

18 lines
712 B
CMake

#-------------------------------------------------------------------------------
# Copyright (c) 2017, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
#-------------------------------------------------------------------------------
#Force extension for object files to be '.o'.
set(CMAKE_C_OUTPUT_EXTENSION ".o" CACHE STRING "" FORCE)
# Set a variable to indicate whether the value of CMAKE_INSTALL_PREFIX
# was initialized by the block below. This is useful for user
# projects to change the default prefix while still allowing the
# command line to override it.
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT 1)
endif()