Enable ASM language as required
This commit is contained in:
parent
17d1be179e
commit
dcbbf2c806
|
|
@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.25)
|
|||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
|
||||
include(identity)
|
||||
|
||||
project(${PROJECT_NAME} VERSION ${PROJECT_VERSION} LANGUAGES C ASM)
|
||||
project(${PROJECT_NAME} VERSION ${PROJECT_VERSION} LANGUAGES C)
|
||||
|
||||
option(BUILD_SERVER "Build dedicated server" ON)
|
||||
option(BUILD_CLIENT "Build client" ON)
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ if(NOT CMAKE_C_COMPILER_ID STREQUAL "GNU" AND NOT CMAKE_C_COMPILER_ID MATCHES "^
|
|||
return()
|
||||
endif()
|
||||
|
||||
enable_language(ASM)
|
||||
|
||||
set(ASM_SOURCES
|
||||
${SOURCE_DIR}/asm/snapvector.c
|
||||
${SOURCE_DIR}/asm/ftola.c
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user