Created
March 28, 2017 02:50
-
-
Save wujiyu115/dd970f840e952a999142cfa077403d2c to your computer and use it in GitHub Desktop.
Edit CMakeLists.txt to compile with -fPIC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC" ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment