CompilerSettings.cmake 533 B

1234567891011121314
  1. #
  2. # Copyright (c) Contributors to the Open 3D Engine Project.
  3. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. #
  5. # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. #
  7. #
  8. # File to tweak compiler settings before compiler detection happens (before project() is called)
  9. # We dont have PAL enabled at this point, so we can only use pure-CMake variables
  10. if("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Linux")
  11. include(${CMAKE_CURRENT_LIST_DIR}/Platform/Linux/CompilerSettings_linux.cmake)
  12. endif()