From 7befb6c830d9f4ad4677739c602d2215d1f49723 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 19 Mar 2012 14:28:06 -0300 Subject: [PATCH] Include ASEPRITE net library only when the updater is enabled. --- src/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c9a59ca25..d70df0835 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -94,6 +94,8 @@ if(ENABLE_UPDATER) set(aseprite_libraries ${aseprite_libraries} updater-lib net-lib) add_definitions(-DENABLE_UPDATER) + + add_subdirectory(net) add_subdirectory(updater) endif() @@ -133,7 +135,6 @@ add_subdirectory(base) add_subdirectory(filters) add_subdirectory(gfx) add_subdirectory(gui) -add_subdirectory(net) add_subdirectory(undo) add_library(aseprite-library