Improve CMakeLists.txt

This commit is contained in:
Loic Guegan 2023-05-09 22:33:21 +02:00
parent 7e85875978
commit c1e94d17e7

View file

@ -1,6 +1,11 @@
cmake_minimum_required(VERSION 3.10)
project(ochess VERSION 0.0.0)
# Configure CXX Standards
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
# wxWidgets
find_package(wxWidgets COMPONENTS net gl core base adv aui propgrid richtext REQUIRED)
include(${wxWidgets_USE_FILE})