demos/TTSCppFrontend: fix dependency lookup issue in CentOS

CentOS installs some dependencies into the lib64 folder, unlike Ubuntu which always installs into the lib folder.
pull/3018/head
彭逸豪 3 years ago
parent 3dd7181e2b
commit 04f474753e

@ -13,7 +13,7 @@ set(ABSL_PROPAGATE_CXX_STD ON)
########## Dependencies ##########
set(ENV{PKG_CONFIG_PATH} "${CMAKE_SOURCE_DIR}/third-party/build/lib/pkgconfig")
set(ENV{PKG_CONFIG_PATH} "${CMAKE_SOURCE_DIR}/third-party/build/lib/pkgconfig:${CMAKE_SOURCE_DIR}/third-party/build/lib64/pkgconfig")
find_package(PkgConfig REQUIRED)
# It is hard to load xxx-config.cmake in a custom location, so use pkgconfig instead.

Loading…
Cancel
Save