From 7b4ee6100fba6ceab800e3427322bfafacd3b58e Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Sun, 24 May 2020 22:03:47 +0200 Subject: [PATCH] CMake: set the project version --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b6b4ed5b0..c671fb1c0b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,8 +34,6 @@ endif() include(build/cmake/policies.cmake NO_POLICY_SCOPE) -project(wxWidgets) - # Initialize variables for quick access to wx root dir in sub dirs set(wxSOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) set(wxBINARY_DIR ${CMAKE_BINARY_DIR}) @@ -66,6 +64,8 @@ endif() set(wxVERSION ${wxMAJOR_VERSION}.${wxMINOR_VERSION}.${wxRELEASE_NUMBER}) set(wxCOPYRIGHT "1992-2020 wxWidgets") +project(wxWidgets VERSION ${wxVERSION}) + include(build/cmake/main.cmake) # Set the default startup project for Visual Studio