Skip to content

Commit

Permalink
Require only C++ compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
dantti committed Jul 26, 2024
1 parent a3effbf commit 4bc3a80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.9)
project(kdalgorithms)
project(kdalgorithms
LANGUAGES CXX
)

if(POLICY CMP0077) # Yes, let the parent project set BUILD_TESTING before we include CTest.cmake below
cmake_policy(SET CMP0077 NEW)
Expand Down
2 changes: 0 additions & 2 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"name": "gcc",
"hidden": true,
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++"
},
"binaryDir": "${sourceDir}/build/${presetName}"
Expand All @@ -42,7 +41,6 @@
"name": "clang",
"hidden": true,
"cacheVariables": {
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++"
},
"binaryDir": "${sourceDir}/build/${presetName}"
Expand Down

0 comments on commit 4bc3a80

Please sign in to comment.