The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13280 
====================================================================== 
Reported By:                Alex Herrmann
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13280
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   low
Status:                     new
====================================================================== 
Date Submitted:             2012-06-07 15:44 EDT
Last Modified:              2012-06-07 15:44 EDT
====================================================================== 
Summary:                    setting CMAKE_C_COMPILER and CMAKE_CXX_COMPILER
breaks find_package
Description: 
Hello, I just built gcc-4.7 in my /opt/ directory, and I would like to cmake to
compile using those binaries. However, whenever I specify the C and CXX compiler
with -D or set() commands, it always complains about it not being able to find
anything.

Steps to Reproduce: 
Specify CMAKE_C_COMPILER and CMAKE_CXX_COMPILER, and try to find() something.
More specifically for me include(FindPNG) or include(FindJPEG), nothing like
this works.

Additional Information: 
I have a feeling this isn't a bug, and I've tried setting just about variable I
can think to right this, but until this is fixed, my software is much less
portable.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-06-07 15:44 Alex Herrmann  New Issue                                    
======================================================================

--

Powered by www.kitware.com

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

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

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

Reply via email to