scribus/third_party/prc/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) --- a/scribus/third_party/prc/CMakeLists.txt +++ b/scribus/third_party/prc/CMakeLists.txt @@ -5,6 +5,8 @@ ${OPENGL_INCLUDE_DIR} ${FREETYPE_INCLUDE_DIRS} ) +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_FPIC}") + set(SCRIBUS_PRC_LIB_SOURCES oPRCFile.cc PRCbitStream.cc