use project to set language
This commit is contained in:
parent
b30d71ac96
commit
9f64660938
1 changed files with 1 additions and 2 deletions
|
@ -21,8 +21,7 @@ if(NOT DEFINED CMAKE_TOOLCHAIN_FILE)
|
|||
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/toolchain.cmake")
|
||||
endif()
|
||||
|
||||
enable_language(CXX)
|
||||
project(pacman)
|
||||
project(pacman LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
|
Loading…
Reference in a new issue