Skip to content

Commit

Permalink
Merge pull request #1169 from diddledan/gflags-position-independent
Browse files Browse the repository at this point in the history
Ensure GFlags is compiled with -fPIC
  • Loading branch information
pierotofy committed Oct 15, 2020
2 parents 9d59361 + 157f931 commit 9b9ecea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SuperBuild/cmake/External-GFlags.cmake
Expand Up @@ -14,6 +14,7 @@ ExternalProject_Add(${_proj_name}
#--Configure step-------------
SOURCE_DIR ${SB_SOURCE_DIR}/${_proj_name}
CMAKE_ARGS
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
-DCMAKE_BUILD_TYPE:STRING=Release
-DCMAKE_INSTALL_PREFIX:PATH=${SB_INSTALL_DIR}
#--Build step-----------------
Expand Down

0 comments on commit 9b9ecea

Please sign in to comment.