1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

CMake: Fix demos which failed to build on Windows

The PushNotificationsDemo is not supported on Windows, so I've
stopped CMake from configuring it in the first place.
This commit is contained in:
reuk 2020-07-06 10:59:19 +01:00
parent c3f6318c7c
commit e9321bf565
3 changed files with 10 additions and 2 deletions

View file

@ -36,7 +36,10 @@ function(_juce_add_pips)
"${CMAKE_CURRENT_SOURCE_DIR}/CameraDemo.h"
"${CMAKE_CURRENT_SOURCE_DIR}/PushNotificationsDemo.h"
"${CMAKE_CURRENT_SOURCE_DIR}/VideoDemo.h")
endif()
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
list(REMOVE_ITEM headers
"${CMAKE_CURRENT_SOURCE_DIR}/PushNotificationsDemo.h")
endif()
foreach(header IN ITEMS ${headers})
juce_add_pip(${header} added_target)