Added CXX_FEATURES for libraries to ensure build with at least C++11.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
feat/supersedes-deprecated
Michele Calgaro 3 years ago
parent 0d168f7ecd
commit 375229ceea
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -58,6 +58,7 @@ tde_add_library( kghostviewlib SHARED AUTOMOC
kgvfactory.cpp generalsettingswidget.ui gssettingswidget.ui
thumbnailservice.cpp configuration.kcfgc
LINK dscparse-static tdeprint-shared tdeparts-shared
CXX_FEATURES cxx_nullptr
VERSION 0.0.0
DESTINATION ${LIB_INSTALL_DIR}
)

@ -25,4 +25,5 @@ include_directories(
tde_add_library( dscparse STATIC_PIC
SOURCES dscparse.cpp dscparse_adapter.cpp
CXX_FEATURES cxx_nullptr
)

@ -35,6 +35,7 @@ tde_add_library( text2path STATIC_PIC
SOURCES
Affine.cpp Rectangle.cpp Font.cpp Glyph.cpp
GlyphTracer.cpp Converter.cpp QtUnicode.cpp
CXX_FEATURES cxx_nullptr
)
##### text2path (shared) ########################
@ -44,6 +45,7 @@ tde_add_library( text2path SHARED
Affine.cpp Rectangle.cpp Font.cpp Glyph.cpp
GlyphTracer.cpp Converter.cpp QtUnicode.cpp
VERSION 0.0.0
CXX_FEATURES cxx_nullptr
LINK ${FREETYPE_LIBRARIES} ${FRIBIDI_LIBRARIES} ${FONTCONFIG_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)
)

@ -46,5 +46,6 @@ tde_add_kpart( tdefile_ps AUTOMOC
tde_add_kpart( gsthumbnail AUTOMOC
SOURCES gscreator.cpp
LINK dscparse-static ${TQT_LIBRARIES}
CXX_FEATURES cxx_nullptr
DESTINATION ${PLUGIN_INSTALL_DIR}
)

Loading…
Cancel
Save