William A. Hoffman wrote:
> Something like this:
> 
> #########################################################################
> # Disallow in-source build
> STRING(COMPARE EQUAL "${ParaView_SOURCE_DIR}" 
>   "${ParaView_BINARY_DIR}" INSOURCE)
> IF(INSOURCE)
>   MESSAGE(FATAL_ERROR "ParaView requires an out of source Build. Please 
> create a separate binary directory and run CMake there.")
> ENDIF(INSOURCE)

Great!  Thanks Bill.

Scott

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

Reply via email to