1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

CMake: fix 'UNIX build requires MUPENPLUSAPI' message

This commit is contained in:
Michael Maltese 2017-07-19 19:14:35 -07:00
parent df5fc37630
commit a09a1f02c4

View File

@ -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