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