CMake: set the project version
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user