Failed linking to boost library with CMake generated project file for MSVC9
问题 I'm trying to build an application with boost library by creating a MSVC9.0 project files with CMake. I get the following error: Error 3 fatal error LNK1104: cannot open file 'libboost_system-vc90-mt-gd-1_44.lib' Here is the CMake configuration cmake_minimum_required(VERSION 2.8) PROJECT( TestProject) ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS) set(BOOST_ROOT "D:/boost_1_44_0") set(Boost_USE_MULTITHREADED ON) FIND_PACKAGE( Boost 1.44.0 REQUIRED unit_test_framework system) INCLUDE_DIRECTORIES($