Am 10.10.14 um 12:29 schrieb Nils Gladitz:
On 10/10/2014 12:24 PM, Dr. Christian Verbeek wrote:
Am 10.10.14 um 12:07 schrieb Nils Gladitz:
On 10/10/2014 11:48 AM, Dr. Christian Verbeek wrote:

INCLUDE( "C:/Program Files (x86)/somepath" )
->  include could not find load file: somepath

This one should work as-is.
Is "somepath" an existing regular CMake script (text file)?

Nils

The whole string is
C:/Program Files (x86)/Didactic/RobotinoView3/api/cmake/unit_plugin.cmake
and Yes unit_plugin.cmake is existing and regular.
The string gets truncated to /cmake/unit_plugin.cmake

So it's definitely not working. I checked it more than twice.

Are there any other errors in context?

CMake reports that it can not find a module also when there is some error in that file.

The path itself should not be the issue.

CMake itself uses absolute paths to modules in it's own module directory (which on 64 bit windows also resides in "C:/Program Files (x86)" per default).

Nils

You made a point Nils. The error occured within the included cmake file. The path was not the problem. Thanks for pointing me into the right direction.

Christian

--

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

Reply via email to