From 22ce63a114be1b84357dea0ba597c8926d465d37 Mon Sep 17 00:00:00 2001 From: withmorten Date: Thu, 19 Aug 2021 16:36:00 +0200 Subject: [PATCH] cmake: only add skeleton to project if tools are enabled --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c14e6f73..1f4d3ce7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,7 @@ endif() 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) endif()