On 26 March 2013 09:50, Ivan Sidarau <[email protected]> wrote:
> -DBOOST_LIBRARIES=C:/Users/Deane/git/software/boost/stage/lib/libboost_date_time-vc100-mt-1_49.lib
>
> I think this var should point to
> C:/Users/Deane/git/software/boost/stage/lib/

All CMake variables like <name>_LIBRARY and <name>_LIBRARIES,
not only in SOCI but general, specify full path to library file(s),
not a directory.
Those variables are either set automatically by CMake find_package
called from CMakeLists.txt or they are explicitly specified by user.
Both cases are then handled by FindPackageHandleStandardArgs machinery.

Specifically, from FindBoost.cmake:

"Boost_LIBRARIES
Link to these to use the Boost libraries that you specified: not cached"

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to