CMakeLists.txt: Define rts as a C-only project

While it is true "extern C" is used on all headers, there is no need for
CMake to check the C++ compiler.
This commit is contained in:
Xavier Del Campo Romero 2022-07-23 03:55:59 +02:00
parent f753ede740
commit 6b46057728
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ ExternalProject_Add(tools
CMAKE_ARGS
-D CMAKE_INSTALL_PREFIX=${TOOLS_PREFIX})
project(rts)
project(rts C)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
if(CMAKE_TOOLCHAIN_FILE MATCHES "ps1")