Skip to content

Commit 5f4236c

Browse files
committed
core: project compiler changed to mingw
1 parent b4a2a15 commit 5f4236c

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# CMakeList.txt : CMake project for DataStructures_Algorithms, include source and define
22
# project specific logic here.
33
#
4-
cmake_minimum_required (VERSION 3.8)
4+
cmake_minimum_required (VERSION 3.10)
55

66
# Enable Hot Reload for MSVC compilers if supported.
77
if (POLICY CMP0141)

CMakePresets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"binaryDir": "${sourceDir}/Build/build/${presetName}",
99
"installDir": "${sourceDir}/Build/install/${presetName}",
1010
"cacheVariables": {
11-
"CMAKE_C_COMPILER": "cl.exe",
12-
"CMAKE_CXX_COMPILER": "cl.exe"
11+
"CMAKE_C_COMPILER": "gcc",
12+
"CMAKE_CXX_COMPILER": "g++"
1313
},
1414
"condition": {
1515
"type": "equals",

Tests/0001_Basics/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
cmake_policy(SET CMP0135 NEW)
2+
13
include(FetchContent)
24
FetchContent_Declare(
35
googletest

Tests/0002_Tree/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
cmake_policy(SET CMP0135 NEW)
2+
13
include(FetchContent)
24
FetchContent_Declare(
35
googletest

Tests/0003_Graph/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
cmake_policy(SET CMP0135 NEW)
2+
13
include(FetchContent)
24
FetchContent_Declare(
35
googletest

0 commit comments

Comments
 (0)