aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-07-23 03:55:59 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-07-23 04:16:57 +0200
commit0b201a49f6841ac4a061f7b5e94870758bd65c20 (patch)
tree5c8ce9bf088ee43a9a85651b9c7c658fe7d1c65d
parent24693bc9ed092130a01a76a62785f40582b11701 (diff)
downloadjancity-0b201a49f6841ac4a061f7b5e94870758bd65c20.tar.gz
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.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4eecb5d..54198bc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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")