For some reason I cannot get include() to work.<br><br>In a CMakeLists.txt of mine (not the root CMakeLists.txt) I call the following:<br><br><span style="font-family: courier new,monospace;">cmake_minimum_required( VERSION 2.6 )</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">include( includes.cmake )</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">project( vfx )</span><br><br>And I have a file called includes.cmake in the same directory containing the CMakeLists.txt above. When I run <i style="font-family: courier new,monospace; background-color: rgb(204, 204, 204);"><b>cmake -G &quot;Visual Studio 9 2008&quot;</b></i>, I get the following output:<br>
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">C:\IT\work\jewett&gt;cmake -G &quot;Visual Studio 9 2008&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">CMake Error at vfx/CMakeLists.txt:2 (include):</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp; include could not find load file:</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; includes.cmake</span><br>