summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorLu Qiuwen <[email protected]>2016-01-06 12:33:24 +0800
committerLu Qiuwen <[email protected]>2016-01-06 12:33:24 +0800
commitdfed25d758d62144bc0a2fbed99abee295147114 (patch)
treef74c5575eada001ab4d417a305c7ccb9ea1a83fe /support
parentcacbe5bd9c8599112cfa9228e3e5da48131828e1 (diff)
增加fPIC编译选项
Diffstat (limited to 'support')
-rw-r--r--support/MESA_prof_load/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/MESA_prof_load/CMakeLists.txt b/support/MESA_prof_load/CMakeLists.txt
index 888c415..13839f4 100644
--- a/support/MESA_prof_load/CMakeLists.txt
+++ b/support/MESA_prof_load/CMakeLists.txt
@@ -8,6 +8,7 @@ set(MESA_PROF_LOAD_VERSION ${MESA_PROF_LOAD_MAJOR_VERSION}.${MESA_PROF_LOAD_MINO
message(STATUS "MESA Profile Loader, Version: ${MESA_PROF_LOAD_VERSION}")
+add_definitions(-fPIC)
set(SRCLIST src/MESA_prof_load.c)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/inc/)