diff options
author | Robert Adam <dev@robert-adam.de> | 2020-10-13 20:48:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-13 20:48:19 +0300 |
commit | caaf516ea50096e10476e76ad20ae2ef8505304b (patch) | |
tree | 3b3632ee73fae49fe41eb3cb9dcb41a333d7aba6 /CMakeLists.txt | |
parent | 30c51665a66f64536fabacc8f9884ba7fd1ca108 (diff) | |
parent | 5cf9dde08be6b64b7a43b5b016c4ff2604f19ad1 (diff) |
Merge pull request #4533: BUILD(cmake): Fix use of generator expression
The changed files used a generator expression in an if-statement, which
is invalid as these generator expressions are not evaluated during the
initial configuration stage (at which point the if-statement is
evaluated).
This commit changes the use of the generator-expression in such a way
that it will actually do what it was meant to.
Note that this commit also enables position independent code for all
platforms and all build-types instead of only for debug builds on unix
systems. This was the preferred choice instead of porting the -fPIE
compiler option to use proper generator expressions as the presence of
these options caused linking errors with Celt/Opus.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions