Hi all,<br><br><br>I am trying to convert &quot;datadraw&quot; into a CMake project, but I&#39;m running against this problem:<br><br><br>C:\TEMP\datadraw&gt;cmake . -G &quot;MinGW Makefiles&quot;<br>-- Building datadraw...<br>
CMake Error at cmake/prebuilt.cmake:41 (MESSAGE):<br>&nbsp; datadraw failed to build.&nbsp; This is a needed file for the database<br>&nbsp; precompilation!<br>Call Stack (most recent call first):<br>&nbsp; CMakeLists.txt:55 (INCLUDE)<br><br>
<br>This output is very small, and I cannot find any reason why it would be failing (because when I run the same command in the &quot;src&quot; directory, it&#39;s building fine).<br><br><br>The command which is building datadraw is:<br>
&nbsp; TRY_COMPILE(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DATADRAW_OK<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ${PROJECT_SOURCE_DIR}/${CMAKE_FILES_DIRECTORY}/CMakeTmp<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ${PROJECT_SOURCE_DIR}/src<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; datadraw<br>&nbsp; )<br><br><br><br>Greetings &amp; thanks.<br>