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