[CMake] SET_TARGET_PROPERTIES twice

2007-10-02 Thread Juan Sanchez
I just discovered that the moment I add a second SET_TARGET_PROPERTIES statement for a specific target, cmake will implicitly fail, and not write out a Makefile. It even states that it is writing the build files, but it does not. This is cmake 2.4.7 on linux. Any advice? Juan

Re: [CMake] SET_TARGET_PROPERTIES twice

2007-10-02 Thread David Cole
Does this reproduce in a small case that you could post the source to the list? Or, if not, could you post your source as is? On 10/2/07, Juan Sanchez [EMAIL PROTECTED] wrote: I just discovered that the moment I add a second SET_TARGET_PROPERTIES statement for a specific target, cmake will

Re: [CMake] SET_TARGET_PROPERTIES twice

2007-10-02 Thread Juan Sanchez
Sorry for the trouble. It turns out my second SET_TARGET_PROPERTIES was missing the PROPERTIES statement. The error statement was lost in the other messages I had in my CMakeLists.txt. Other issues: It does appear that a second SET_TARGET_PROPERTIES will replace properties set in the first