diff options
author | Ankit Meel <ankitjmeel@gmail.com> | 2021-02-09 16:36:11 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-02-09 16:36:29 +0300 |
commit | 5321e844d3fa8a3421df1c9d7aedc52e22ca5264 (patch) | |
tree | c672aa4fa6f6617d8ad07aa4ee90487da2659534 /build_files | |
parent | a7b931e87f91a85dd18aef395d4796e8e5bc47c3 (diff) |
CMake/Linux: Add libharu to platform_linux.cmake
Since GPencil changes depending on libharu may be committed to master
before SVN libraries for all platforms are in place, avoid build issues.
Extension of D9928.
Reviewed By: sybren
Differential Revision: https://developer.blender.org/D10280
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/cmake/platform/platform_unix.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build_files/cmake/platform/platform_unix.cmake b/build_files/cmake/platform/platform_unix.cmake index 7ded075e8e3..fed70c5b8b2 100644 --- a/build_files/cmake/platform/platform_unix.cmake +++ b/build_files/cmake/platform/platform_unix.cmake @@ -470,6 +470,14 @@ if(WITH_POTRACE) endif() endif() +if(WITH_HARU) + find_package_wrapper(Haru) + if(NOT HARU_FOUND) + message(WARNING "Haru not found, disabling WITH_HARU") + set(WITH_HARU OFF) + endif() +endif() + if(EXISTS ${LIBDIR}) without_system_libs_end() endif() |