cmake: only add skeleton to project if tools are enabled

This commit is contained in:
withmorten 2021-08-19 16:36:00 +02:00
parent 6b9c546ec1
commit 22ce63a114

View File

@ -70,7 +70,7 @@ endif()
add_subdirectory(src) add_subdirectory(src)
if(NOT LIBRW_PLATFORM_PS2 AND NOT LIBRW_PLATFORM_NULL) if(LIBRW_TOOLS AND NOT LIBRW_PLATFORM_PS2 AND NOT LIBRW_PLATFORM_NULL)
add_subdirectory(skeleton) add_subdirectory(skeleton)
endif() endif()