Skip to content

Commit 71ba246

Browse files
committed
Clean up top level cmake file.
1 parent 4540b3c commit 71ba246

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
cmake_minimum_required(VERSION 3.12)
22

3+
# Can skip compiler checks since we're not building anything.
4+
set(CMAKE_C_COMPILER_WORKS 1)
5+
set(CMAKE_CXX_COMPILER_WORKS 1)
6+
37
option(BUILD_UI "Build the OpenLeetCode UI" OFF)
48

59
set(PROBLEM_BUILDS_NAME "problem_builds")
610
set(CMAKE_FILE_DESTINATION_SUFIX "_destination")
711

8-
if(NOT CMAKE_BUILD_TYPE)
9-
set(CMAKE_BUILD_TYPE Debug)
10-
endif()
11-
1212
project(openleetcode
1313
DESCRIPTION "Open Source version of LeetCode"
1414
)

0 commit comments

Comments
 (0)