diff options
| author | Andrey Churbanov <Andrey.Churbanov@intel.com> | 2015-05-07 17:07:06 +0000 |
|---|---|---|
| committer | Andrey Churbanov <Andrey.Churbanov@intel.com> | 2015-05-07 17:07:06 +0000 |
| commit | 062e198d934b2e9df44a46c2dfc3cd7ed87fb140 (patch) | |
| tree | 61329dd2dd94eaccd3c35d0bc3acaf05dce2a898 /openmp/runtime/cmake/SourceFiles.cmake | |
| parent | 585b566278520b82256f5a0d8335cb9138a4e0e9 (diff) | |
| download | bcm5719-llvm-062e198d934b2e9df44a46c2dfc3cd7ed87fb140.tar.gz bcm5719-llvm-062e198d934b2e9df44a46c2dfc3cd7ed87fb140.zip | |
D9306 omp 4.1 async offload support (partial): build changes for version 4.1
llvm-svn: 236746
Diffstat (limited to 'openmp/runtime/cmake/SourceFiles.cmake')
| -rw-r--r-- | openmp/runtime/cmake/SourceFiles.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/cmake/SourceFiles.cmake b/openmp/runtime/cmake/SourceFiles.cmake index 7c0de6cab72..c9d4a3210fe 100644 --- a/openmp/runtime/cmake/SourceFiles.cmake +++ b/openmp/runtime/cmake/SourceFiles.cmake @@ -78,7 +78,7 @@ function(set_cpp_files input_cpp_source_files) append_cpp_source_file("kmp_dispatch.cpp") append_cpp_source_file("kmp_lock.cpp") append_cpp_source_file("kmp_sched.cpp") - if("${omp_version}" STREQUAL "40") + if(${omp_version} GREATER 40 OR ${omp_version} EQUAL 40) append_cpp_source_file("kmp_taskdeps.cpp") append_cpp_source_file("kmp_cancel.cpp") endif() |

