Skip to content

Commit 4bc3a80

Browse files
committed
Require only C++ compiler
1 parent a3effbf commit 4bc3a80

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
cmake_minimum_required(VERSION 3.9)
2-
project(kdalgorithms)
2+
project(kdalgorithms
3+
LANGUAGES CXX
4+
)
35

46
if(POLICY CMP0077) # Yes, let the parent project set BUILD_TESTING before we include CTest.cmake below
57
cmake_policy(SET CMP0077 NEW)

CMakePresets.json

-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"name": "gcc",
3434
"hidden": true,
3535
"cacheVariables": {
36-
"CMAKE_C_COMPILER": "gcc",
3736
"CMAKE_CXX_COMPILER": "g++"
3837
},
3938
"binaryDir": "${sourceDir}/build/${presetName}"
@@ -42,7 +41,6 @@
4241
"name": "clang",
4342
"hidden": true,
4443
"cacheVariables": {
45-
"CMAKE_C_COMPILER": "clang",
4644
"CMAKE_CXX_COMPILER": "clang++"
4745
},
4846
"binaryDir": "${sourceDir}/build/${presetName}"

0 commit comments

Comments
 (0)