Review changes for enable/disable scripting

This commit is contained in:
EverOddish 2018-09-23 20:13:28 -04:00
parent fce7afb8dc
commit 15d44f0450

View file

@ -1,4 +1,4 @@
set(core_sources add_library(core STATIC
3ds.h 3ds.h
announce_multiplayer_session.cpp announce_multiplayer_session.cpp
announce_multiplayer_session.h announce_multiplayer_session.h
@ -419,7 +419,7 @@ set(core_sources
tracer/recorder.h tracer/recorder.h
) )
if (ENABLE_SCRIPTING) if (ENABLE_SCRIPTING)
list(APPEND core_sources target_sources(core PRIVATE
rpc/packet.cpp rpc/packet.cpp
rpc/packet.h rpc/packet.h
rpc/rpc_server.cpp rpc/rpc_server.cpp
@ -430,7 +430,6 @@ if (ENABLE_SCRIPTING)
rpc/zmq_server.h rpc/zmq_server.h
) )
endif() endif()
add_library(core STATIC ${core_sources})
create_target_directory_groups(core) create_target_directory_groups(core)