Skip to content
Permalink
Browse files

OSG_TEXT_USE_FONTCONFIG additional check needed

  • Loading branch information...
konstantin.matveyev authored and robertosfield committed Jul 26, 2019
1 parent 36a3c5f commit 9d9273ca126e9433c1c48431ced5070b745a4d19
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/osgText/CMakeLists.txt
@@ -50,10 +50,9 @@ SET(TARGET_LIBRARIES
OpenThreads
)


SET(COMPONENT_PKGCONFIG_DESCRIPTION "Text rendering library for OpenSceneGraph")

if(Fontconfig_FOUND)
if(OSG_TEXT_USE_FONTCONFIG AND Fontconfig_FOUND)
MESSAGE(STATUS "osgText will be linked with FontConfig library")
list(APPEND TARGET_LIBRARIES Fontconfig::Fontconfig)
ADD_DEFINITIONS(-DWITH_FONTCONFIG)

0 comments on commit 9d9273c

Please sign in to comment.
You can’t perform that action at this time.