diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a477d6..ad8ffd9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -93,6 +93,7 @@ if(NOT TARGET asmjit) #build asmjit set(ASMJIT_STATIC ON) add_subdirectory("${ASMJIT_SRC_DIR}" "${FBGEMM_BINARY_DIR}/asmjit") + set_property(TARGET asmjit PROPERTY POSITION_INDEPENDENT_CODE ON) endif() if(NOT TARGET cpuinfo) |