From 15d44f04501da9a7e055b0ba24662c18845e0fb3 Mon Sep 17 00:00:00 2001 From: EverOddish Date: Sun, 23 Sep 2018 20:13:28 -0400 Subject: [PATCH] Review changes for enable/disable scripting --- src/core/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 7226d1bce..afeb8d5e0 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -1,4 +1,4 @@ -set(core_sources +add_library(core STATIC 3ds.h announce_multiplayer_session.cpp announce_multiplayer_session.h @@ -419,7 +419,7 @@ set(core_sources tracer/recorder.h ) if (ENABLE_SCRIPTING) - list(APPEND core_sources + target_sources(core PRIVATE rpc/packet.cpp rpc/packet.h rpc/rpc_server.cpp @@ -430,7 +430,6 @@ if (ENABLE_SCRIPTING) rpc/zmq_server.h ) endif() -add_library(core STATIC ${core_sources}) create_target_directory_groups(core)