restore PCRE for Linux builds

restores previous fix that was lost due to missing FS tags
master
Beq 2025-11-17 15:38:54 +00:00
parent 5f90941c8c
commit 2dfaf4c7b1
1 changed files with 8 additions and 0 deletions

View File

@ -56,3 +56,11 @@ find_library(COLLADADOM_LIBRARY
PATHS "${ARCH_PREBUILT_DIRS_RELEASE}" REQUIRED NO_DEFAULT_PATH)
target_link_libraries(ll::colladadom INTERFACE ${COLLADADOM_LIBRARY} ll::boost ll::libxml ll::minizip-ng)
# <FS> GLIB uses pcre, so we need to keep it for Linux builds
if (LINUX)
add_library( ll::pcre INTERFACE IMPORTED )
use_prebuilt_binary(pcre)
target_link_libraries( ll::pcre INTERFACE pcrecpp pcre )
endif ()
# </FS>