[CMake] Can't find wxWidgets

Richard Shaw hobbes1069 at gmail.com
Fri Jul 10 10:50:28 EDT 2015


On Thu, Jul 9, 2015 at 3:09 PM, Bob Bachman <bob_bachman at intercept.com>
wrote:

>
> It's defined in the CMakeLists.txt file and stored in the CMakeCache.txt
> file.
>
> //Path to a program.
>
> wxWidgets_CONFIG_EXECUTABLE:FILEPATH=/home/mzx_bldr/mozaix_svn/engineering/c
> ommon_src/src/wxWidgets-3.0.2/buildgtk/wx-config


Ok, useful information to have...

Only thing I can think of at this point is to start adding some debug tests
such as after the above line try:

if(EXISTS ${ wxWidgetsCONFIG_EXECUTABLE})
  message("Found wx-config")
else()
  message("wx-config not found")

Thanks,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150710/54a74c46/attachment.html>


More information about the CMake mailing list