- PIC option is enabled for all projects

This commit is contained in:
2019-03-31 20:53:08 +03:00
parent b9d49a62ab
commit 47e21e5a54
16 changed files with 31 additions and 0 deletions

View File

@@ -5,6 +5,8 @@ set (CMAKE_CXX_STANDARD 11)
set (CMAKE_CXX_STANDARD_REQUIRED ON)
set (USE_NULL_UUID OFF CACHE BOOL "When enabled linking to libuuid is avoided")
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
file(GLOB HELPER_LIB_SOURCES "*.cpp" "*.h")
add_library(helper_lib ${HELPER_LIB_SOURCES})