Remove scripting switch in cmake

This commit is contained in:
Weiyi Wang 2019-01-29 18:01:30 -05:00
parent 6347b5cbb4
commit 008197a569
8 changed files with 12 additions and 32 deletions

View file

@ -22,8 +22,6 @@ option(ENABLE_CUBEB "Enables the cubeb audio backend" ON)
option(USE_DISCORD_PRESENCE "Enables Discord Rich Presence" OFF)
option(ENABLE_SCRIPTING "Enables scripting support" OFF)
if(NOT EXISTS ${PROJECT_SOURCE_DIR}/.git/hooks/pre-commit)
message(STATUS "Copying pre-commit hook")
file(COPY hooks/pre-commit
@ -253,10 +251,6 @@ if (ENABLE_QT)
endif()
endif()
if (ENABLE_SCRIPTING)
add_definitions(-DENABLE_SCRIPTING)
endif()
# Platform-specific library requirements
# ======================================