Skip to content

Commit c9499ae

Browse files
authored
Move enable language in cmakelist.txt to avoid configure warning (#439)
1 parent 57dc316 commit c9499ae

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

CMakeLists.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
cmake_minimum_required(VERSION 3.13)
22

3-
enable_language(CXX)
4-
set(CMAKE_CXX_EXTENSIONS NO)
5-
6-
include(GNUInstallDirs)
7-
83
set(CMAKE_MODULE_PATH
94
${CMAKE_MODULE_PATH}
105
"${CMAKE_CURRENT_SOURCE_DIR}/cmake"
@@ -59,6 +54,9 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
5954
endif()
6055
endif()
6156

57+
enable_language(CXX)
58+
set(CMAKE_CXX_EXTENSIONS NO)
59+
include(GNUInstallDirs)
6260
option(USE_CLING "Use Cling as backend" OFF)
6361
option(USE_REPL "Use clang-repl as backend" ON)
6462

0 commit comments

Comments
 (0)