title: Failed linking to boost library with CMake generated project file for MSVC9
body: <p>I'm trying to build an application with boost library by creating a MSVC9.0 project files with CMake.</p>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>Error  3   fatal error LNK1104: cannot open file 'libboost_system-vc90-mt-gd-1_44.lib'</p>
  </blockquote>
  
  <p>Here is the CMake configuration</p>
  
  <pre><code>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(${CMAKE_SOURCE_DIR}/include)
  INCLUDE_DIRECTORIES(${INCLUDE_DIRECTORIES} ${BOOST_ROOT})
  LINK_DIRECTORIES(${LINK_DIRECTORIES} "D:/boost_1_44_0/stage/lib")
  
  
  SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
  SET(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
  SET(RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
  ADD_EXECUTABLE(testapp
  main.cpp)
  
  TARGET_LINK_LIBRARIES(testapp
  ${Boost_SYSTEM_LIBRARY}
  )
  
  SET_TARGET_PROPERTIES( testapp PROPERTIES DEBUG_POSTFIX "d" )
  </code></pre>
  
  <p>I have built boost for static and shared (debug and release) with following options.</p>
  
  <pre><code>bjam toolset=msvc  variant=debug   link=shared runtime-link=shared threading=multi --build-type=complete stage
  bjam toolset=msvc  variant=release link=shared runtime-link=shared threading=multi --build-type=complete stage
  bjam toolset=msvc  variant=debug   link=static runtime-link=static threading=multi --build-type=complete stage
  bjam toolset=msvc  variant=release link=static runtime-link=static threading=multi --build-type=complete stage
  </code></pre>
  
  <p>I'm not sure what I'm missing in the configuration. Any suggestions?
  Thanks.</p>