Skip to content

CMake: unix_config, set CMAKE_POSITION_INDEPENDENT_CODE - #5444

Merged
dorodnic merged 1 commit into
realsenseai:developmentfrom
jirislaby:PIC
Dec 29, 2019
Merged

CMake: unix_config, set CMAKE_POSITION_INDEPENDENT_CODE#5444
dorodnic merged 1 commit into
realsenseai:developmentfrom
jirislaby:PIC

Conversation

@jirislaby

Copy link
Copy Markdown

And remove manually set fPIC. CMAKE_POSITION_INDEPENDENT_CODE properly
sets fPIC for libraries and fPIE for executables.

And remove manually set fPIC. CMAKE_POSITION_INDEPENDENT_CODE properly
sets fPIC for libraries and fPIE for executables.
@dorodnic

Copy link
Copy Markdown
Contributor

Hi @jirislaby
Thank you for the patch! Looks good to me 👍

@dorodnic dorodnic added the cmake label Dec 16, 2019
@dorodnic
dorodnic changed the base branch from master to development December 29, 2019 14:26
@dorodnic
dorodnic merged commit 0bd0906 into realsenseai:development Dec 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants