Revert incorrect copyright attribution for non-contributed files

- In commit b3facaa6bb, the copyright header was
  updated to include "Citron Homebrew Project" across multiple files, regardless
  of whether any contributions were made.

- This commit removes the incorrect attribution and reverts the copyright header
  to its previous state.

- Copyright attribution should only be added when meaningful contributions have
  been made to the file.

- This commit ensures proper compliance with copyright standards and maintains
  correct attribution to the respective contributors.

- Special thanks to Tachi for pointing out the need for these corrections and
  ensuring that proper attribution practices are followed.
This commit is contained in:
Zephyron 2025-01-14 15:33:24 +10:00
parent d028ac291c
commit 9ae0eeeb87
2828 changed files with 2963 additions and 2846 deletions

View file

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2025 Citron Homebrew Emulator Project & vampiric_x 2025
# SPDX-FileCopyrightText: 2025 Citron Homebrew Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later
cmake_minimum_required(VERSION 3.22)
@ -655,10 +655,17 @@ if(ENABLE_QT AND UNIX AND NOT APPLE)
DESTINATION "share/metainfo")
endif()
# Set default x86-64-v2 instruction set for better compatibility
# Set CPU architecture compatibility flags
if (CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64|amd64|AMD64")
# Ensure quotes are preserved and flags are set for both main build and vcpkg
set(ISA_FLAGS "-march=x86-64-v2")
# Default to x86-64 baseline for maximum compatibility
set(ISA_FLAGS "-march=x86-64")
# Allow override via CMake option
option(CITRON_USE_X86_64_V2 "Enable x86-64-v2 instruction set" OFF)
if(CITRON_USE_X86_64_V2)
set(ISA_FLAGS "-march=x86-64-v2")
endif()
# Set for main project
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ISA_FLAGS}")
@ -668,8 +675,8 @@ if (CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64|amd64|AMD64")
set(VCPKG_CXX_FLAGS "${ISA_FLAGS}")
set(VCPKG_C_FLAGS "${ISA_FLAGS}")
# Set toolchain options for vcpkg
set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE "${CMAKE_CURRENT_SOURCE_DIR}/cmake/x86-64-v2-toolchain.cmake")
# Set toolchain options for vcpkg
set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE "${CMAKE_CURRENT_SOURCE_DIR}/cmake/x86-64-toolchain.cmake")
# Ensure we're not getting overridden by system defaults
add_compile_options(${ISA_FLAGS})