CMake: retain VERSION_xxx macros

This commit is contained in:
Nguyen Anh Quynh 2022-01-13 00:17:31 +08:00
parent 487cde56f2
commit c7c665f8f3
1 changed files with 4 additions and 4 deletions

View File

@ -6,11 +6,11 @@ if (POLICY CMP0048)
# http://www.cmake.org/cmake/help/v3.0/policy/CMP0048.html # http://www.cmake.org/cmake/help/v3.0/policy/CMP0048.html
cmake_policy (SET CMP0048 NEW) cmake_policy (SET CMP0048 NEW)
endif() endif()
project(capstone VERSION 5.0.0) project(capstone)
# set(VERSION_MAJOR 5) set(VERSION_MAJOR 5)
# set(VERSION_MINOR 0) set(VERSION_MINOR 0)
# set(VERSION_PATCH 0) set(VERSION_PATCH 0)
if(POLICY CMP0042) if(POLICY CMP0042)
# http://www.cmake.org/cmake/help/v3.0/policy/CMP0042.html # http://www.cmake.org/cmake/help/v3.0/policy/CMP0042.html