Skip to content

Commit

Permalink
Bump version up to 1.2.1 for 1.20.71.1
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederoxDev committed Mar 13, 2024
1 parent 89f16d8 commit e145c40
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 9 additions & 1 deletion AmethystRuntime/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
cmake_minimum_required(VERSION 3.12)
project(AmethystRuntime)
set(MOD_VERSION "1.2.0")
set(MOD_VERSION "1.2.1")

# Runtime Build Options
option(AMETHYST_INPUT_SYSTEM "Enables AmethystAPI's input system" OFF)

# C++ Build Settings
set(CMAKE_CONFIGURATION_TYPES "RelWithDebInfo" CACHE STRING "Build configurations" FORCE)
Expand All @@ -15,6 +18,11 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO "${AmethystFolder}/mods/${PROJ
find_library(AMETHYST_API AmethystAPI PATHS "${AmethystFolder}/lib")
include_directories(${AmethystFolder}/include "src/")

# Compile definitions
if (AMETHYST_INPUT_SYSTEM)
add_compile_definitions(AMETHYST_INPUT_SYSTEM)
endif()

# Project Files
file(GLOB_RECURSE CPP_SOURCES "src/*.cpp")
file(GLOB_RECURSE H_FILES "src/*.h" )
Expand Down
4 changes: 3 additions & 1 deletion AmethystRuntime/src/AmethystRuntime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ void AmethystRuntime::PromptDebugger()

void AmethystRuntime::CreateOwnHooks()
{
// CreateInputHooks();
#ifdef AMETHYST_INPUT_SYSTEM
CreateInputHooks();
#endif

CreateModFunctionHooks();
}
Expand Down

0 comments on commit e145c40

Please sign in to comment.