22,23c22,24
< 
< if ( DAKOTA_JENKINS_BUILD OR DEFINED ENV{WORKSPACE} )
---
> if ( DEFINED ENV{DAK_BUILD} )
>   set ( CMAKE_CURRENT_BINARY_DIR $ENV{DAK_BUILD} )
> elseif ( DAKOTA_JENKINS_BUILD OR DEFINED ENV{WORKSPACE} )
