diff options
-rw-r--r-- | build_files/cmake/platform/platform_unix.cmake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build_files/cmake/platform/platform_unix.cmake b/build_files/cmake/platform/platform_unix.cmake index d3444f41e37..0bf790b34e6 100644 --- a/build_files/cmake/platform/platform_unix.cmake +++ b/build_files/cmake/platform/platform_unix.cmake @@ -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() |