Hi Brad,

Brad King wrote:
> No, EXEC_PROGRAM and EXECUTE_PROCESS have different policies for
> capturing the output of a program.  It looks like EXEC_PROGRAM
> automatically strips leading and trailing whitespace from the output,
> while EXECUTE_PROCESS gives you the real output of the program.
> 
> Try putting this after EXECUTE_PROCESS:
> 
> STRING(REGEX REPLACE "[\r\n]+$" "" ANTLR_CONFIG_LIBS
> "${ANTLR_CONFIG_LIBS}")
> 
> -Brad
> 

Thanks, that fixed it!

Best,
Scott
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to