<div dir="ltr">Ok, it looks like I got it a little backwards... It&#39;s not the -l... that&#39;s missing, it&#39;s the -I... <div><br></div><div style>Apparently mingw32-cmake creates a separate includes file, includes_CXX.rsp, whereas the native cmake just puts them in the flags.cmake file.</div>
<div style><br></div><div style>During compilation, it doesn&#39;t appear the contents of includes_CXX.rsp is being substituted:</div><div style><br></div><div style><div>[ 12%] Building CXX object src/CMakeFiles/libctb.dir/fifo.cpp.obj</div>
<div>cd /home/build/mingw32-proj/libctb-0.16.cmake/build_mingw/src &amp;&amp; /usr/bin/i686-w64-mingw32-g++   -DPIC -D_THREAD_SAFE -Dlibctb_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4  -O3 -DNDEBUG @CMakeFiles/libctb.dir/includes_CXX.rsp   -MD -MP -fPIC -o CMakeFiles/libctb.dir/fifo.cpp.obj -c /home/build/mingw32-proj/libctb-0.16.cmake/src/fifo.cpp</div>
<div>/home/build/mingw32-proj/libctb-0.16.cmake/src/fifo.cpp:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]</div><div><br></div><div style>Any ideas?</div><div style><br></div>
<div style>Thanks,</div><div style>Richard</div></div></div>