aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2022-09-26 03:09:07 +0300
committerWohlstand <admin@wohlnet.ru>2022-09-26 03:09:07 +0300
commite27764edeb24936ce50da6229a781006e7ebdc75 (patch)
treeda4422060d68274a6f988ea59c456521ecfe280c /CMakeLists.txt
parent48ec16f3d2a04295767b6bac38aed7bef5180881 (diff)
downloadlibADLMIDI-e27764edeb24936ce50da6229a781006e7ebdc75.tar.gz
libADLMIDI-e27764edeb24936ce50da6229a781006e7ebdc75.tar.bz2
libADLMIDI-e27764edeb24936ce50da6229a781006e7ebdc75.zip
CMake: tweaked some of platform specific macros
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2fc91c2..b365b11 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -130,7 +130,7 @@ function(set_visibility_hidden destTarget)
endfunction()
#===========================================================================================
-if(VITA OR 3DS)
+if(VITA OR NINTENDO_3DS OR NINTENDO_WII OR NINTENDO_WIIU)
set(DEFAULT_HEAVY_EMULATORS OFF)
else()
set(DEFAULT_HEAVY_EMULATORS ON)
@@ -138,7 +138,9 @@ endif()
if(NOT EMSCRIPTEN
AND NOT VITA
- AND NOT 3DS
+ AND NOT NINTENDO_3DS
+ AND NOT NINTENDO_WII
+ AND NOT NINTENDO_WIIU
AND NOT ADLMIDI_DOS)
option(libADLMIDI_STATIC "Build static library of libADLMIDI" ON)
option(libADLMIDI_SHARED "Build shared library of libADLMIDI" OFF)
@@ -176,7 +178,10 @@ endif()
if(NOT WIN32
AND NOT VITA
- AND NOT 3DS
+ AND NOT NINTENDO_3DS
+ AND NOT NINTENDO_WII
+ AND NOT NINTENDO_WIIU
+ AND NOT NINTENDO_SWITCH
AND NOT EMSCRIPTEN
AND NOT ADLMIDI_DOS)
option(ENABLE_FPIC "Build static libraries as position independent code" ON)