From 582429d07acd98809ce62ec081d38b0e78afda79 Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Mon, 20 Aug 2018 10:21:41 +0200 Subject: [PATCH] Adding mention of OpenMP on 3.12 --- chapters/packages/OpenMP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/packages/OpenMP.md b/chapters/packages/OpenMP.md index f2f9d46..c056a60 100644 --- a/chapters/packages/OpenMP.md +++ b/chapters/packages/OpenMP.md @@ -10,7 +10,7 @@ if(OpenMP_CXX_FOUND) endif() ``` -This not only is cleaner than the old method, it will also correctly set the library link line differently from the compile line if needed. However, if you need to support older CMake, the following works on CMake 3.1+: +This not only is cleaner than the old method, it will also correctly set the library link line differently from the compile line if needed. In CMake 3.12+, this will even support OpenMP on macOS (if the library is available, such as with `brew install libomp`). However, if you need to support older CMake, the following works on CMake 3.1+: ```cmake