3581b96caa
This allows a dependee to inform a target that it should have its POSITION_INDEPENDENT_CODE property set to ON, or OFF. The value of the POSITION_INDEPENDENT_CODE property, if set, must be consistent with any INTERFACE_POSITION_INDEPENDENT_CODE properties on dependees. Add a test covering the consistency checks on platforms where they run.
9 lines
213 B
CMake
9 lines
213 B
CMake
|
|
cmake_minimum_required(VERSION 2.8)
|
|
project(${RunCMake_TEST} CXX)
|
|
|
|
# MSVC creates extra targets which pollute the stderr unless we set this.
|
|
set(CMAKE_SUPPRESS_REGENERATION TRUE)
|
|
|
|
include(${RunCMake_TEST}.cmake)
|