From 525fb4d5e2902097f309a812fccd1bd5bd09326e Mon Sep 17 00:00:00 2001 From: James Price Date: Thu, 30 Jun 2016 17:04:23 +0100 Subject: [PATCH] Fix out-of-tree builds --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index acaa2a1..aeb2960 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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