summaryrefslogtreecommitdiffstats
path: root/ksvg/impl/libs/libtext2path/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-01-22 19:48:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-01-22 19:48:12 +0900
commit375229ceea1bf7b7c31fcf1f1c16c699c8e0b475 (patch)
treea250181049a96a20f6f2c696efcfc4ffebe2bd59 /ksvg/impl/libs/libtext2path/src/CMakeLists.txt
parent0d168f7ecdd875e739d7e3fb0df7348bc5d7deb0 (diff)
downloadtdegraphics-375229ceea1bf7b7c31fcf1f1c16c699c8e0b475.tar.gz
tdegraphics-375229ceea1bf7b7c31fcf1f1c16c699c8e0b475.zip
Added CXX_FEATURES for libraries to ensure build with at least C++11.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksvg/impl/libs/libtext2path/src/CMakeLists.txt')
-rw-r--r--ksvg/impl/libs/libtext2path/src/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/ksvg/impl/libs/libtext2path/src/CMakeLists.txt b/ksvg/impl/libs/libtext2path/src/CMakeLists.txt
index 098f836d..a6227857 100644
--- a/ksvg/impl/libs/libtext2path/src/CMakeLists.txt
+++ b/ksvg/impl/libs/libtext2path/src/CMakeLists.txt
@@ -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}
-) \ No newline at end of file
+)