mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
Merge branch 'FindOpenMP-avoid-warning-in-check' into release-3.12
Merge-request: !2176
This commit is contained in:
@@ -126,7 +126,7 @@ set(OpenMP_C_CXX_TEST_SOURCE
|
||||
#include <omp.h>
|
||||
int main() {
|
||||
#ifdef _OPENMP
|
||||
int n = omp_get_max_threads();
|
||||
omp_get_max_threads();
|
||||
return 0;
|
||||
#else
|
||||
breaks_on_purpose
|
||||
|
||||
Reference in New Issue
Block a user