Page MenuHome

macOS: Added potrace in platform apple cmake
ClosedPublic

Authored by Sebastián Barschkis (sebbas) on Sep 17 2020, 3:40 PM.

Diff Detail

Repository
rB Blender
Branch
platform_apple_potrace (branched from master)
Build Status
Buildable 10268
Build 10268: arc lint + arc unit

Event Timeline

Sebastián Barschkis (sebbas) requested review of this revision.Sep 17 2020, 3:40 PM
Sebastián Barschkis (sebbas) created this revision.
Ankit Meel (ankitm) added inline comments.
build_files/cmake/platform/platform_apple.cmake
420

platform_apple.cmake:29

macro(find_package_wrapper)
# do nothing, just satisfy the macro
endmacro()

It should be find_package(POTRACE) AFAIK. Lower case would give argument mismatch warning like rBef2bde11d228: CMake: Fix spelling for OpenImageDenoise package

build_files/cmake/platform/platform_apple.cmake
420

Aha, so "Potrace" from platform_unix.cmake would also have to change to capital letters?

build_files/cmake/platform/platform_apple.cmake
420

It's not an abbreviation, so not sure why all caps were used.
http://potrace.sourceforge.net/#description
Making a patch to fix FindPotrace.cmake right away. (At least the filename is correct :) )

build_files/cmake/platform/platform_apple.cmake
420

Ok, so with D8923 we should be all set, right?

build_files/cmake/platform/platform_apple.cmake
420

Fixed in {f37c83a12bb2}.
find_package(Potrace) it is. :)

Fix find_package() function name

This revision is now accepted and ready to land.Sep 17 2020, 5:31 PM