> find_package(Boost COMPONENTS ${GGMCONTROL_BOOST_COMPONENTS} REQUIRED)
> if(NOT Boost_FOUND)
>     # Try again with the other type of libs
>     set(Boost_USE_STATIC_LIBS NOT ${Boost_USE_STATIC_LIBS})
>     find_package(Boost COMPONENTS ${GGMCONTROL_BOOST_COMPONENTS} QUIET)
> endif()

This has nothing to do with your problem, but this is wrong. Since you put
in REQUIRED CMake will return with an error from the configuration stage.
So the if() clause doesn't really have any effect.

Eike
--

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