#6785 closed defect (fixed)

premake sysincludedirs deprecated

Reported by: Ralph Sennhauser Owned by: s0600204
Priority: Should Have Milestone: Alpha 27
Component: Build & Packages Keywords:
Cc: Patch: phab:D4980

Description

Using premake-5.0.0_beta2

** Warning: the field sysincludedirs has been deprecated and will be removed.
   Use `externalincludedirs` instead.

Change History (2)

comment:1 by s0600204, 13 months ago

Owner: set to s0600204
Patch: phab:D4980
Status: newassigned

comment:2 by s0600204, 13 months ago

Resolution: fixed
Status: assignedclosed

In 27606:

Use premake5 beta2's externalincludedirs when available

As of the beta2 version of premake5, sysincludedirs has been deprecated
and replaced with/renamed to externalincludedirs, and continuing to use it
causes warnings to be emitted.

With this change, we now use externalincludedirs when available so as to
prevent the warnings, falling back to sysincludedirs when it's not to prevent
breakage with pre-beta2 versions of premake5.

Accepted By: sera
Fixes: #6785
Differential Revision: https://code.wildfiregames.com/D4980

Note: See TracTickets for help on using tickets.