diff options
Diffstat (limited to 'Modules/FindOpenMP.cmake')
-rw-r--r-- | Modules/FindOpenMP.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/FindOpenMP.cmake b/Modules/FindOpenMP.cmake index b96a2ec..87c9d03 100644 --- a/Modules/FindOpenMP.cmake +++ b/Modules/FindOpenMP.cmake @@ -75,12 +75,12 @@ function(_OPENMP_FLAG_CANDIDATES LANG) endfunction(_OPENMP_FLAG_CANDIDATES) # sample openmp source code to test -set(OpenMP_C_TEST_SOURCE +set(OpenMP_C_TEST_SOURCE " #include <omp.h> -int main() { +int main() { #ifdef _OPENMP - return 0; + return 0; #else breaks_on_purpose #endif |