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
commit6b460577288b9f88d954249b9ccaf26c2a1906ad (patch)
tree25672245b1480e175c4255cf8430a2ff6cee5097
parentf753ede740177d06db25fceead4120924c9b8571 (diff)
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")