Hi all,<br><br><br>I am trying to convert "datadraw" into a CMake project, but I'm running against this problem:<br><br><br>C:\TEMP\datadraw>cmake . -G "MinGW Makefiles"<br>-- Building datadraw...<br>
CMake Error at cmake/prebuilt.cmake:41 (MESSAGE):<br> datadraw failed to build. This is a needed file for the database<br> precompilation!<br>Call Stack (most recent call first):<br> 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 "src" directory, it's building fine).<br><br><br>The command which is building datadraw is:<br>
TRY_COMPILE(<br> DATADRAW_OK<br> ${PROJECT_SOURCE_DIR}/${CMAKE_FILES_DIRECTORY}/CMakeTmp<br> ${PROJECT_SOURCE_DIR}/src<br> datadraw<br> )<br><br><br><br>Greetings & thanks.<br>