From c28b5ffc7d1645a2a7732a9790adfff6a3889c9f Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Sat, 3 Jan 2026 21:49:09 +0100 Subject: [PATCH] [cmake, dynarmic] Restore project languages specification (#3256) https://git.eden-emu.dev/eden-emu/eden/pulls/3183 removed the `project` command from the dynarmic CMakeLists.txt. This causes CMake to assume the default languages for the project which are C and C++, however, dynarmic_tests has some parts written in assembly (`src/dynarmic/tests/rsqrt_test_fn.s`) which causes linking failure. Signed-off-by: Marcin Serwin Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3256 Reviewed-by: DraVee Reviewed-by: Lizzie Co-authored-by: Marcin Serwin Co-committed-by: Marcin Serwin --- src/dynarmic/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dynarmic/CMakeLists.txt b/src/dynarmic/CMakeLists.txt index 6c0fccd6e4..4734bd468d 100644 --- a/src/dynarmic/CMakeLists.txt +++ b/src/dynarmic/CMakeLists.txt @@ -9,6 +9,8 @@ set(dynarmic_VERSION_PATCH 0) set(dynarmic_VERSION ${dynarmic_VERSION_MAJOR}.${dynarmic_VERSION_MINOR}.${dynarmic_VERSION_PATCH}) +project(dynarmic LANGUAGES C CXX ASM VERSION ${dynarmic_VERSION}) + # Determine if we're built as a subproject (using add_subdirectory) # or if this is the master project. set(MASTER_PROJECT OFF)