Am Samstag, 30. April 2011, 22:23:00 schrieb Robert Nelson:
> I have used CMake for a while under Linux, but until recently never
> really tried to make CMakelists truly cross platform.  I would like to
> use CMake with Boost 1.46.1 under windows 7
> I installed boost by downloading the zip and running:
> bootstrap.bat
> bjam
> bjam install
> 
> I am using the CMake 2.84 GUI
> 
> Here is my CMakelists.txt
> 
> 
> 
> PROJECT(schema)
> cmake_minimum_required(VERSION 2.6)
> 
> SET( Boost_NO_SYSTEM_PATHS true )
> SET( BOOST_INCLUDEDIR "C:/Boost/include/boost-1_46_1" )
> SET( BOOST_LIBRARYDIR "C:/Boost/lib" )

SET(Boost_ADDITIONAL_VERSIONS 1.46.1)

> find_package(Boost 1.46 COMPONENTS regex program_options pthread
> filesystem REQUIRED)

Eike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
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 the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to