From a09a1f02c457fc95fc0824dd5fff138172053603 Mon Sep 17 00:00:00 2001 From: Michael Maltese Date: Wed, 19 Jul 2017 19:14:35 -0700 Subject: [PATCH] CMake: fix 'UNIX build requires MUPENPLUSAPI' message --- src/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0ae6127b..93785bd9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -134,9 +134,9 @@ if(MUPENPLUSAPI) ) set(GLideN64_DLL_NAME mupen64plus-video-GLideN64) else(MUPENPLUSAPI) - if(NOT UNIX) - message(ERROR "UNIX build requires MUPENPLUSAPI!") - endif(NOT UNIX) + if(UNIX) + message(FATAL_ERROR "UNIX build requires MUPENPLUSAPI!") + endif(UNIX) set(GLideN64_SOURCES_WIN ZilmarPluginAPI.cpp windows/Config_windows.cpp