CMake: set the project version

This commit is contained in:
Maarten Bent
2020-05-24 22:03:47 +02:00
parent a9f1655c9c
commit 7b4ee6100f

View File

@@ -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