CMAKE_POSITION_INDEPENDENT_CODE.rst 365 Bytes
Newer Older
1
2
3
CMAKE_POSITION_INDEPENDENT_CODE
-------------------------------

4
Default value for :prop_tgt:`POSITION_INDEPENDENT_CODE` of targets.
5

6
7
This variable is used to initialize the
:prop_tgt:`POSITION_INDEPENDENT_CODE` property on all the targets.
8
See that target property for additional information.  If set, its
9
value is also used by the :command:`try_compile` command.