bugThe FreeType Project - Bugs: bug #49909, Does not configure with CMake...

 
 

bug #49909: Does not configure with CMake 2.8.11.2

Submitted by:  rdb <rdb>
Submitted on:  Thu 22 Dec 2016 11:07:48 AM UTC  
 
Severity: 3 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.7.1

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 22 Dec 2016 11:25:43 AM UTC, comment #2:

Changed in git as requested. Thanks for the report.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Thu 22 Dec 2016 11:09:21 AM UTC, comment #1:

Sorry, I had meant to say that changing the number in this line:
if (NOT CMAKE_VERSION VERSION_LESS 2.8.11)

to 2.8.12 is enough to make it build correctly for me.

rdb <rdb>
Thu 22 Dec 2016 11:07:48 AM UTC, original submission:

When using CMake 2.8.11.2, I get the following error:

CMake Error in CMakeLists.txt:
Target "freetype" INTERFACE_INCLUDE_DIRECTORIES property contains relative
path:
"include/freetype2"

This is caused by this bit of code in CMakeLists.txt:

if (NOT CMAKE_VERSION VERSION_LESS 2.8.11)
target_include_directories(freetype
PUBLIC $<INSTALL_INTERFACE:include/freetype2>)
endif ()

Evidently, relative paths in include directories are not supported since 2.8.11. Changing the number in the CMakeLists.txt lines to 2.8.10 makes it work. I imagine changing it to use an absolute path would also have worked.

It would be great if there could be a fix for this in the stable releases. Thanks!

rdb <rdb>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (Posted a comment)
  • -unavailable- added by rdb (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 22 Dec 2016 11:25:43 AM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.7.1

    Back to the top


    Powered by Savane 3.1-cleanup1