From 4fcec1d217c4fd060e42b80137860f631dc034ec Mon Sep 17 00:00:00 2001 From: XinyuHou Date: Tue, 10 Feb 2015 16:20:49 +0000 Subject: [PATCH] limited ns pluging to Mac 10.8 and above #4168 --- src/lib/plugin/CMakeLists.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/lib/plugin/CMakeLists.txt b/src/lib/plugin/CMakeLists.txt index b835ad6a..bc839fa7 100644 --- a/src/lib/plugin/CMakeLists.txt +++ b/src/lib/plugin/CMakeLists.txt @@ -14,8 +14,14 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -add_subdirectory(ns) - if (WIN32) add_subdirectory(winmmjoy) endif() + +if (APPLE) + if (OSX_TARGET_MINOR GREATER 7) + add_subdirectory(ns) + endif() +else() + add_subdirectory(ns) +endif()