chore: specify C language for DrangPlatform project in CMakeLists.txt
This commit is contained in:
parent
121c54227a
commit
9538637d58
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
cmake_minimum_required(VERSION 3.21)
|
||||
project(DrangPlatform VERSION 1.0.0)
|
||||
project(DrangPlatform VERSION 1.0.0 LANGUAGES C)
|
||||
|
||||
set(CMAKE_C_STANDARD 17)
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
|
|
@ -22,6 +22,7 @@ FetchContent_Declare(
|
|||
set(MI_OVERRIDE OFF CACHE BOOL "" FORCE)
|
||||
set(MI_BUILD_SHARED OFF CACHE BOOL "" FORCE)
|
||||
set(MI_BUILD_STATIC ON CACHE BOOL "" FORCE)
|
||||
set(MI_USE_CXX OFF CACHE BOOL "" FORCE)
|
||||
FetchContent_MakeAvailable(mimalloc)
|
||||
|
||||
add_subdirectory(Source/DrangPlatform)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue