forked from qt-creator/qt-creator
CMake build: Fix PIC issue with 3rd_cplusplus
3rd_cplusplus is an OBJECT library, which will end up into CPlusPlus, which is a shared library, it's safe to set PIC to ON. Fixes https://bugreports.qt.io/browse/QTCREATORBUG-22465 Change-Id: I6ef9bf8c73102a3a5996c0fee7b1fe25e6aa677f Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Cristian Adam
parent
cf801ac930
commit
c84885bc9f
1
src/libs/3rdparty/cplusplus/CMakeLists.txt
vendored
1
src/libs/3rdparty/cplusplus/CMakeLists.txt
vendored
@@ -42,4 +42,5 @@ add_qtc_library(3rd_cplusplus OBJECT
|
||||
Type.cpp Type.h
|
||||
TypeVisitor.cpp TypeVisitor.h
|
||||
cppassert.h
|
||||
PROPERTIES POSITION_INDEPENDENT_CODE ON
|
||||
)
|
||||
|
Reference in New Issue
Block a user