do not build samples if null renderer

This commit is contained in:
Seo Youngjin 2021-03-26 15:21:13 +09:00 committed by Anonymous Maarten
parent 36f95294fb
commit 351ddded34
1 changed files with 10 additions and 8 deletions

View File

@ -10,7 +10,8 @@ if(LIBRW_PLATFORM_PS2)
add_subdirectory(ps2test)
endif()
if(NOT LIBRW_PLATFORM_PS2)
if(UNIX)
if(NOT LIBRW_PLATFORM_NULL AND NOT LIBRW_PLATFORM_PS2)
add_subdirectory(playground)
add_subdirectory(lights)
add_subdirectory(subrast)
@ -19,3 +20,4 @@ if(NOT LIBRW_PLATFORM_PS2)
add_subdirectory(im3d)
add_subdirectory(ska2anm)
endif()
endif()