From http://www.cmake.org/cmake/help/git-master/variable/CMAKE_CFG_INTDIR.html, it seems as if CMAKE_CFG_INTDIR only contains the subdirectory name, thus potentially breaking advanced out-of-source build setups. CMAKE_CURRENT_BINARY_DIR usually is the current working directory, so I think this still works in most cases, but to be sure, it might be better to use CMAKE_CFG_INTDIR as described in the docs.