Fix out-of-tree builds

This commit is contained in:
James Price 2016-06-30 17:04:23 +01:00
parent eda9d56ed9
commit 525fb4d5e2

View File

@ -13,6 +13,7 @@ set(gpu-stream_VERSION_MAJOR 2)
set(gpu-stream_VERSION_MINOR 0)
configure_file(common.h.in common.h)
include_directories(${CMAKE_BINARY_DIR})
# If using the Cray compiler, manually add the C++11 flag because setting the
# standard through CMake as above doesn't set this flag with Cray