diff options
-rw-r--r-- | polly/lib/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/polly/lib/CMakeLists.txt b/polly/lib/CMakeLists.txt index 6e63ec7505d..2f628a2aee5 100644 --- a/polly/lib/CMakeLists.txt +++ b/polly/lib/CMakeLists.txt @@ -267,6 +267,10 @@ set (ISL_FILES External/isl/imath/imrat.c ) +set(POLLY_HEADER_FILES) +if (MSVC_IDE OR XCODE) + file(GLOB_RECURSE POLLY_HEADER_FILES "${POLLY_SOURCE_DIR}/include/polly/*.h") +endif () add_polly_library(Polly Analysis/DependenceInfo.cpp @@ -296,6 +300,7 @@ add_polly_library(Polly Transform/IndependentBlocks.cpp Transform/ScheduleOptimizer.cpp ${ISL_FILES} + ${POLLY_HEADER_FILES} ) # ISL requires at least C99 to compile. gcc < 5.0 use -std=gnu89 as default. |