[CMake] Re: FindBoost.cmake: please test

Rodolfo Lima rodolfo at rodsoft.org
Sun Jan 20 12:38:44 EST 2008


Andreas Pakulat escreveu:
> The reason I did that was to simplify the module code. 

I see, but this variable is only used in a if clause, so instead of writing

IF( Boost_USE_NONMULTITHREADED )
    SET (_boost_MULTITHREADED "")
ENDIF( Boost_USE_NONMULTITHREADED )

you could write

IF(NOT Boost_USE_MULTITHREADED )
    SET (_boost_MULTITHREADED "")
ENDIF(NOT Boost_USE_MULTITHREADED )

with the same semantics of the former clause, isn't it?

Regards,
rod



More information about the CMake mailing list