One more observation:
SET( USE_STATIC_BOOST OFF)
set(Boost_USE_STATIC_LIBS ${USE_STATIC_BOOST})
I am getting :
fatal error LNK1104: cannot open file 'libboost_date_time-vc120-mt-gd-1_59.lib'
However If I set USE_STATIC_BOOST ON
I get the error
LINK : fatal error LNK1104: cannot open file
'boost_unit_test_framework-vc120-mt-gd-1_59.lib'
So it seems independent what I am doing at least one boost library is unhappy.
BDW. I am using the boost binary windows distribution.
On 23 October 2015 at 21:00, Witold E Wolski
In a project which vcproj files generated with cmake I am getting the following link error
fatal error LNK1104: cannot open file 'libboost_date_time-vc120-mt-gd-1_59.lib'
The generate link command (VS- project -> properties -> Linker -> command line) contains however: "C:\boost\boost_1_59_0\lib\boost_date_time-vc120-mt-gd-1_59.lib"
both files are present in my boost binary build. Any idea why this mixup is taking place libboost_date_time vs. boost_date_time and how I can fix the problem?
Best regards Witold
-- Witold Eryk Wolski
-- Witold Eryk Wolski