On Tue, Jul 20, 2010 at 2:45 AM, Koen Deforche <[email protected]> wrote: > Hey, > > 2010/7/19 OvermindDL1 <[email protected]>: >> I think I found another CMake build problem. When I put the ascidoc >> location in the CMake configuration, it then tries to build *two* doc >> projects, when there is already a doc project in the solution. In the >> root directory CMakeList.txt file, there is this segment starting at >> line 183: > > I remember that I struggled with this so it turns out that the > solution I cooked up is not kosjer at all... > > What CMake version are you using ? > > Does it help to move the 'ADD_CUSTOM_TARGET(doc)' out of the IF and > MACRO scopes, and call this only once globally ?
I will try it next time I get a chance. I am using 2.8.2 (although for your cmake files it says it is running in 2.4 compatibility mode). Same thing happened with 2.8.1 too. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
