diff --git a/CMakeLists.txt b/CMakeLists.txt index 564ecd9b..eb78ce4f 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,7 +84,7 @@ endif() ## Build libraries find_package(Threads REQUIRED) - +set(CMAKE_POSITION_INDEPENDENT_CODE ON) # add sdk main library add_library(${PROJECT_NAME} ########################