CMake/Tests/RunCMake/project/CMP0048-OLD.cmake

7 lines
234 B
CMake

cmake_policy(SET CMP0048 OLD)
set(PROJECT_VERSION 1)
set(MyProject_VERSION_TWEAK 0)
project(MyProject NONE)
message(STATUS "PROJECT_VERSION='${PROJECT_VERSION}'")
message(STATUS "MyProject_VERSION_TWEAK='${MyProject_VERSION_TWEAK}'")