The following issue has been SUBMITTED. 
====================================================================== 
https://public.kitware.com/Bug/view.php?id=15997 
====================================================================== 
Reported By:                Andrew.W
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15997
Category:                   CMake
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-03-02 14:56 AEDT
Last Modified:              2016-03-02 14:56 AEDT
====================================================================== 
Summary:                    CMake 3.5 fails to build on OS X with GTK framework
installed
Description: 
Running bootstrap on OS X fails with GTK framework installed in
/Library/Frameworks.

Error is:
CMake Error at Modules/FindGTK2.cmake:182 (file):
  file STRINGS file
  "/Library/Frameworks/Gtk.framework/Headers/gtk/gtk/gtkversion.h" cannot be
  read.

Actual path is /Library/Frameworks/Gtk.framework/Headers/gtk/gtkversion.h

I fixed the error by editing Modules/FindGTK2.cmake and changing references from
  ${GTK2_GTK_INCLUDE_DIR}/gtk/gtkversion.h
to
  ${GTK2_GTK_INCLUDE_DIR}/gtkversion.h
Lines 631 and 883

Steps to Reproduce: 
Download CMake ( cmake-3.5.0-rc3 )
Run 'bootstrap'
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-03-02 14:56 Andrew.W       New Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to