Permalink
Browse files

Set fPIC flag explicitly

  • Loading branch information...
Kai-Chun Ning
Kai-Chun Ning committed May 20, 2018
1 parent a172244 commit 4f64e93aea3e55bf30cc7ac42d125fbefcf663d0
Showing with 2 additions and 0 deletions.
  1. +2 −0 CMakeLists.txt
@@ -26,6 +26,8 @@ endif()
# compilation flags
# ========================================================================== #
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
include(CheckCCompilerFlag)
check_c_compiler_flag("-Wall" COMPILER_C_ALL_WARN)

0 comments on commit 4f64e93

Please sign in to comment.