Ok. Here comes the apology. I just could NOT see the forest for all
the trees in front of me. I am truly sorry for the last rant.
So, Here is how to get the "bjam" behavior back.
Set INSTALL_VERSIONED=OFF
set BOOST_INCLUDE_INSTALL_DIR=include/boost-1_41
set BOOST_LIB_INSTALL_DIR=lib
and then go. I also set an environment variable BOOST_ROOT to the
CMAKE_INSTALL_PREFIX.
In my CMake file I have the following;
# ---------- Find Boost Headers/Libraries -----------------------
SET (Boost_FIND_REQUIRED TRUE)
SET (Boost_FIND_QUIETLY TRUE)
set (Boost_USE_MULTITHREADED TRUE)
set (Boost_USE_STATIC_LIBS TRUE)
SET (Boost_ADDITIONAL_VERSIONS "1.41" "1.41.0")
if ( NOT MXA_BOOST_HEADERS_ONLY)
set (MXA_BOOST_COMPONENTS program_options unit_test_framework
test_exec_monitor)
endif()
FIND_PACKAGE(Boost COMPONENTS ${MXA_BOOST_COMPONENTS} )
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
This successfully works with the FindBoost.cmake that is included with
CMake 2.6.4 so all my bitching and moaning was just wasted energy.
And, Troy, please accept my apologies.
Respectfully.
_________________________________________________________
Mike Jackson mike.jack...@bluequartz.net
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio
On Dec 4, 2009, at 1:29 PM, troy d. straszheim wrote:
Michael Jackson wrote:
Thanks Troy.
The problem is that those of us running previous versions of CMake
will have a real problem with this setup. I realize I'm just the
"squeaky wheel" here but maybe I should have helped out more to put
in an option to use the "bjam" installation style so that some
backward compatibility is maintained with CMake 2.6.4.
I also just tried CMake 2.8.0 and that did not help either. Nothing
from the web link works either.
Patches accepted.
-t
_______________________________________________
Boost-cmake mailing list
Boost-cmake@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-cmake
_______________________________________________
Boost-cmake mailing list
Boost-cmake@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-cmake