Hi Denis, Kind of you to let me decide ;-)
But seriously, I posted this question, because I wanted to know whether this is the CMake-way of doing things. Not because I like to write the macro that way. In the end, maybe a larger community might want to use this macro. If so, then it would really help if it adheres to some (unwritten) standards. Best regards, Marcel Loose. -----Original Message----- From: Denis Scherbakov <[email protected]> To: [email protected], Marcel Loose <[email protected]> Subject: Re: [CMake] Abuse of find_package COMPONENTS, or not? Date: Wed, 20 May 2009 07:29:15 -0700 (PDT) > What do you mean with like FindBoost did? Can you be a bit > more > specific? Like set(FFTW_DO_SOMETHING ON) find_package(FindeFFTW) If you say that your components are mutually exclusive, then I'd rather use a flag than a component name. But you're the author, so you decide. Denis _______________________________________________ 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
