Skip to content
Snippets Groups Projects

Compile with fPIC. Add linker flags also to design makefile.

Merged m.marn requested to merge yocto-fixes into master
All threads resolved!
Files
3
@@ -17,6 +17,8 @@ file(GLOB_RECURSE COMM_SOURCES ${PROJECT_SOURCE_DIR}/src/silecs-communication/*.
add_library(${PROJECT_NAME} STATIC ${COMM_SOURCES})
set_property(TARGET ${PROJECT_NAME} PROPERTY POSITION_INDEPENDENT_CODE ON)
target_compile_definitions(${PROJECT_NAME}
PRIVATE
MAJOR=${CMAKE_PROJECT_VERSION_MAJOR}
Loading