cmake deps: add -fPIC so they can be integrated in a pm3 shared lib

This commit is contained in:
Philippe Teuwen
2020-05-06 14:39:08 +02:00
parent eafeb47126
commit 9478dbc071
9 changed files with 15 additions and 0 deletions

View File

@@ -46,3 +46,4 @@ endif (NOT MINGW)
target_include_directories(lua INTERFACE liblua)
target_compile_options(lua PRIVATE -Wall -Werror -O3)
set_property(TARGET lua PROPERTY POSITION_INDEPENDENT_CODE ON)