diff options
| author | Lu Qiuwen <[email protected]> | 2016-01-06 12:33:24 +0800 |
|---|---|---|
| committer | Lu Qiuwen <[email protected]> | 2016-01-06 12:33:24 +0800 |
| commit | dfed25d758d62144bc0a2fbed99abee295147114 (patch) | |
| tree | f74c5575eada001ab4d417a305c7ccb9ea1a83fe /support | |
| parent | cacbe5bd9c8599112cfa9228e3e5da48131828e1 (diff) | |
增加fPIC编译选项
Diffstat (limited to 'support')
| -rw-r--r-- | support/MESA_prof_load/CMakeLists.txt | 1 |
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/) |
