Am Montag 17 August 2009 schrieb kuem...@lyx.org:
>  if(Boost_FOUND)
>    target_link_libraries(support ${Boost_LIBRARIES})
>  else()
> -  target_link_libraries(support boost_signals)
> +  target_link_libraries(support boost_signals boost_regex)
>  endif()

We could have defined boost_libraries in the main CmakeLists.txt, and then use 
later in deeper cmake-files.

Something like
         if(Boost_FOUND)
                set(Our_Boost_Libs  ${Boost_LIBRARIES})
        else()
                set(Our_Boost_Libs  boost_signals boost_regex)
        endif()

        Kornel

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

Reply via email to