[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 <marcin@serwin.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3256 Reviewed-by: DraVee <dravee@eden-emu.dev> Reviewed-by: Lizzie <lizzie@eden-emu.dev> Co-authored-by: Marcin Serwin <marcin@serwin.dev> Co-committed-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
parent
f52ff56e70
commit
c28b5ffc7d
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue