bugThe FreeType Project - Bugs: bug #55378, A behavior change during...


bug #55378: A behavior change during "Modernize CMake build"

Submitted by:  None
Submitted on:  Fri 04 Jan 2019 05:41:38 AM UTC  
Severity:  3 - Normal Item Group:  Incorrect behaviour
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Planned Release:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 30 Mar 2019 01:35:55 PM UTC, comment #1: 

I remember trying to make this work like the default build system, where you have auto, on and off. This didn't seem possible, so the OFF switches are now auto and on; to disable deps, you have to disable them for FindPackage. Read the top of the CMakeLists.txt to find out how.

This is "correct behavior" to the best of my knowledge, if you have a better way, let us know.

Nikolaus Waxweiler <morksig>
Project Member
Fri 04 Jan 2019 05:41:38 AM UTC, original submission:  

Before commit 029721d69c8073fa4b5c78d19f6fa051a7ae3459, if WITH_ZIP, WITH_BZIP2, WITH_PNG, or WITH_HarfBuzz are defined as OFF, find_package()s never get run, and those libraries are turned off.

After that commit, if FT_WITH_* are defined as OFF, find_package()s are still called. Those libraries are turned on if exist.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by morksig (Posted a comment)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.5