mirror of
https://github.com/reactos/CMake.git
synced 2024-12-04 09:54:15 +00:00
08eb157c03
Issue: #18202
13 lines
368 B
CMake
13 lines
368 B
CMake
include(RunCMake)
|
|
|
|
set(RunCMake_TEST_OPTIONS
|
|
# Simulate a previous CMake run that used `project(... VERSION ...)`
|
|
# in a non-injected call site.
|
|
-DCMAKE_PROJECT_VERSION:STATIC=1.2.3
|
|
-DCMAKE_PROJECT_VERSION_MAJOR:STATIC=1
|
|
-DCMAKE_PROJECT_VERSION_MINOR:STATIC=2
|
|
-DCMAKE_PROJECT_VERSION_PATCH:STATIC=3
|
|
)
|
|
run_cmake(CMP0048-WARN)
|
|
unset(RunCMake_TEST_OPTIONS)
|