mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 14:27:23 +00:00
65a78ec5b8
Policy CMP0002's OLD behavior allows duplicate non-custom targets. We test it with a project that builds two executables of the same name by setting CMP0002 to OLD.
6 lines
148 B
CMake
6 lines
148 B
CMake
cmake_minimum_required(VERSION 2.6)
|
|
project(Policy0002 C)
|
|
cmake_policy(SET CMP0002 OLD)
|
|
add_subdirectory(A)
|
|
add_executable(Policy0002 policy0002.c)
|