summaryrefslogtreecommitdiff
path: root/indra/cmake/FreeType.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/FreeType.cmake')
-rw-r--r--indra/cmake/FreeType.cmake12
1 files changed, 3 insertions, 9 deletions
diff --git a/indra/cmake/FreeType.cmake b/indra/cmake/FreeType.cmake
index 66f4ae0140..429bb5060b 100644
--- a/indra/cmake/FreeType.cmake
+++ b/indra/cmake/FreeType.cmake
@@ -6,13 +6,7 @@ if( TARGET freetype::freetype )
endif()
create_target( freetype::freetype)
-if (USESYSTEMLIBS)
- include(FindPkgConfig)
-
- pkg_check_modules(FREETYPE REQUIRED freetype2)
-else (USESYSTEMLIBS)
- use_prebuilt_binary(freetype)
- set_target_include_dirs( freetype::freetype ${LIBS_PREBUILT_DIR}/include/freetype2/)
- set_target_libraries( freetype::freetype freetype )
-endif (USESYSTEMLIBS)
+use_prebuilt_binary(freetype)
+set_target_include_dirs( freetype::freetype ${LIBS_PREBUILT_DIR}/include/freetype2/)
+set_target_libraries( freetype::freetype freetype )