summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_POSITION_INDEPENDENT_CODE.rst
blob: 43b1397eb8821e3e335bbfa0678fdc1a7a00cc6a (plain)
1
2
3
4
5
6
7
8
9
CMAKE_POSITION_INDEPENDENT_CODE
-------------------------------

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

This variable is used to initialize the
:prop_tgt:`POSITION_INDEPENDENT_CODE` property on all the targets.
See that target property for additional information.  If set, it's
value is also used by the :command:`try_compile` command.