<br>A source build and binary install for cswig fails with:<br><br>
<span style="font-family: courier new,monospace;">[ dweber@X ~/ports ]$ cswig </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Cannot find SWIG Lib directory.  Checked:</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">  /opt/local/var/macports/build/_Users_dweber_ports_devel_cableswig/work/cableswig-20090514/SWIG/Lib</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[ dweber@X ~/ports ]$ </span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">[ dweber@X ~/ports ]$ otool -L /opt/local/bin/cswig </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/opt/local/bin/cswig:</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">    /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.3)</span><br><br><br>This build of cableswig must use a DESTDIR on the install and the final installation is actually moved from that DESTDIR into a ${prefix} location (actually /opt/local in this case).  The final location for the SWIG Lib is actually /opt/local/lib/CableSwig/SWIGLib/.<br>
<br>How can we specify this SWIG Lib directory during the build configuration?  Is it a cmake variable or is it a CMakeList.txt setting?<br><br>Thanks in advance,<br>Darren<br><br>