cleanup cmake
Some checks failed
eden-license / license-header (pull_request) Failing after 24s

Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
crueter 2025-09-27 12:27:14 -04:00
parent 59059398a2
commit 97680dd1af
Signed by: crueter
GPG key ID: 425ACD2D4830EBC6
2 changed files with 0 additions and 18 deletions

View file

@ -146,11 +146,6 @@ set(EXT_DEFAULT OFF)
if (MSVC OR ANDROID)
set(EXT_DEFAULT ON)
endif()
# See https://github.com/llvm/llvm-project/issues/123946
# OpenBSD va_list doesn't play nice with precompiled headers
if (PLATFORM_FREEBSD OR PLATFORM_OPENBSD OR APPLE)
set(EXT_DEFAULT OFF)
endif()
CMAKE_DEPENDENT_OPTION(YUZU_USE_EXTERNAL_SDL2 "Compile external SDL2" ${EXT_DEFAULT} "ENABLE_SDL2;NOT MSVC" OFF)
@ -453,9 +448,6 @@ if (YUZU_USE_CPM)
if (enet_ADDED)
target_include_directories(enet INTERFACE ${enet_SOURCE_DIR}/include)
if (NOT TARGET enet::enet)
add_library(enet::enet ALIAS enet)
endif()
endif()
if (NOT TARGET enet::enet)
@ -470,9 +462,6 @@ if (YUZU_USE_CPM)
-Wno-implicit-function-declaration
)
endif()
if (NOT TARGET Opus::opus)
add_library(Opus::opus ALIAS opus)
endif()
endif()
if (NOT TARGET Opus::opus)

View file

@ -1,13 +1,6 @@
# SPDX-FileCopyrightText: Copyright 2025 crueter
# SPDX-License-Identifier: GPL-3.0-or-later
# Created-By: crueter
# Docs will come at a later date, mostly this is to just reduce boilerplate
# and some cmake magic to allow for runtime viewing of dependency versions
# Future crueter: Wow this was a lie and a half, at this point I might as well make my own CPN
# haha just kidding... unless?
cmake_minimum_required(VERSION 3.22)
if (MSVC OR ANDROID)