Fix Linux link error with pcre after recent changes, must use absolute path
This commit is contained in:
parent
75f6e6b39e
commit
c4ba0d1508
|
@ -196,8 +196,9 @@ if(WITH_OPENCOLLADA)
|
|||
find_package_wrapper(OpenCOLLADA)
|
||||
if(OPENCOLLADA_FOUND)
|
||||
if(WITH_STATIC_LIBS)
|
||||
# PCRE is bundled with OpenCollada.
|
||||
set(PCRE_LIBRARIES pcre)
|
||||
# PCRE is bundled with OpenCollada without headers, so can't use
|
||||
# find_package reliably to detect it.
|
||||
set(PCRE_LIBRARIES ${LIBDIR}/opencollada/lib/libpcre.a)
|
||||
else()
|
||||
find_package_wrapper(PCRE)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue