diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 8df1545..d124b19 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -10,12 +10,14 @@ if(LIBRW_PLATFORM_PS2) add_subdirectory(ps2test) endif() -if(NOT LIBRW_PLATFORM_PS2) - add_subdirectory(playground) - add_subdirectory(lights) - add_subdirectory(subrast) - add_subdirectory(camera) - add_subdirectory(im2d) - add_subdirectory(im3d) - add_subdirectory(ska2anm) +if(UNIX) + if(NOT LIBRW_PLATFORM_NULL AND NOT LIBRW_PLATFORM_PS2) + add_subdirectory(playground) + add_subdirectory(lights) + add_subdirectory(subrast) + add_subdirectory(camera) + add_subdirectory(im2d) + add_subdirectory(im3d) + add_subdirectory(ska2anm) + endif() endif()