cmake/Tests/RunCMake/project/VersionMissingValueOkay.cmake

7 lines
250 B
CMake
Raw Normal View History

2014-08-03 19:52:23 +02:00
cmake_policy(SET CMP0048 NEW)
set(PROJECT_VERSION 1)
project(ProjectA VERSION LANGUAGES NONE)
get_property(langs GLOBAL PROPERTY ENABLED_LANGUAGES)
message(STATUS "ENABLED_LANGUAGES='${langs}'")
message(STATUS "PROJECT_VERSION='${PROJECT_VERSION}'")