[CMake] CMake adds lib prefix to library. Bug?

2010-11-23 Thread Adam J Richardson
${blah}) instructions and it returns odbc32, which is correct. So my question is: why is CMake adding an extra lib? I can work around it for now, but I'd like to solve this one properly. Thanks, Adam J Richardson CMakeLists.txt snippet: if (ODBC_FOUND) set(T_LIBS ${T_LIBS

[CMake] Extra include/lib paths - multiple entries

2010-11-17 Thread Adam J Richardson
:/Compilers/MinGW/lib Thanks, Adam J Richardson signature.asc Description: PGP signature ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check

Re: [CMake] Bug fix requests for the *next* release of CMake...

2010-11-11 Thread Adam J Richardson
If I have ignored one of your non-bug-issue points from a reply to this thread, it's because it was not a bug number. If you still have an issue, open a bug and reply here with its number or start a new thread!! Argh. Fine. Here's a bug number: #0011445 Let me know if you or somebody

Re: [CMake] fun with Boost - swap absolute library path for -L and -l?

2010-11-11 Thread Adam J Richardson
kind of ugly. Adam J Richardson fat...@... writes: (That is, if I manually separate C:\Compilers\Libs\libboost_thread-mgw44-mt-1_44.a into -LC:\Compilers\Libs -lboost_thread-mgw44-mt-1_44.) Is there a way to have CMake do this by itself and not use absolute paths? I've tried setting

Re: [CMake] fun with Boost - swap absolute library path for -L and -l?

2010-11-11 Thread Adam J Richardson
'. The _imp___ part gives it away. The fix is to define BOOST_THREAD_USE_LIB in your CMakeLists.txt: set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -DBOOST_THREAD_USE_LIB=1) I haven't tested it, but it builds without complaint now. HtH, Adam J Richardson signature.asc Description: PGP signature

[CMake] Bug fix requests for the *next* release of CMake...

2010-11-05 Thread Adam J Richardson
FindODBC.cmake in the release? Thanks, Adam J Richardson -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkzT3GwACgkQSUH6dLOqvqlyOQCfaC2+BL+jkULzetoh3bduWoHU tmMAniddpSiMW4KpeRjpS0me9C+3RNjm =4TE7 -END PGP SIGNATURE

[CMake] Linking Boost on Linux on 64bit host and 32bit target

2010-11-04 Thread Adam J Richardson
(Boost_ADDITIONAL_VERSIONS 1.44 1.44.0) ... if you wanted to try it anyway. Regards, Adam J Richardson -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkzSgx0ACgkQSUH6dLOqvqmfKwCg6qttDVOXnpqHYoZwfjzUyHax ubMAniQAF6EYxsIUYkqXPQiMwFxop6uB =ngaQ -END PGP SIGNATURE

Re: [CMake] FindODBC.cmake

2010-11-02 Thread Adam J Richardson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 01 Nov 2010 20:04:44 + Mateusz Loskot mate...@loskot.net wrote: Thanks Mateusz, that's great! I only needed to add odbc32 to the list of library names (MinGW's OBDC implementation is in libodbc32.a). I'm glad it helped and thanks

[CMake] FindODBC.cmake

2010-11-01 Thread Adam J Richardson
compatible with each other. Thanks, Adam J Richardson -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkzOqQkACgkQSUH6dLOqvqkgrwCfR9lrKOZQOwVaqWC4tWJnFDd4 jlAAn0CE5RZy+3sLWFIkLdGv42jdHaR1 =0QA1 -END PGP SIGNATURE

Re: [CMake] FindODBC.cmake

2010-11-01 Thread Adam J Richardson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 01 Nov 2010 14:25:24 + Mateusz Loskot mate...@loskot.net wrote: Hi, You may find the one in SOCI repo useful http://soci.git.sf.net/ And go to src/cmake/modules Thanks Mateusz, that's great! I only needed to add odbc32 to the list

[CMake] fun with Boost - swap absolute library path for -L and -l?

2010-11-01 Thread Adam J Richardson
that. Thanks, Adam J Richardson -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkzO7NQACgkQSUH6dLOqvqmM5QCgwAD9sffVFYn5/XxBD0t2KqxL f7YAn0iOmlQ1C4OAvo/NiTVcN/Ox6sNX =pzU7 -END PGP SIGNATURE- ___ Powered

Re: [CMake] CMake hangs on new install

2010-10-28 Thread Adam J Richardson
or partial path. Could this be the issue? Regards, Adam J Richardson -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkzJMSoACgkQSUH6dLOqvqlOMwCdHXpEp/nIYGYd+u86GCx9PIoB dYQAnjuKpOX44b0wsDKgQytuwGX7xxFG =XlSY -END PGP SIGNATURE

Re: [CMake] config dependent defines

2010-10-18 Thread Adam J Richardson
, Adam J Richardson -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAky8Cr8ACgkQSUH6dLOqvqnYUgCfbZB1KtewDVQ/ZMdPeeYDHD6V KFoAn3M3nETZeJlnW8yLAYt4xq6Lq7sO =ByUi -END PGP SIGNATURE- ___ Powered by www.kitware.com Visit