Skip to content

Commit

Permalink
Move achievements cmake def
Browse files Browse the repository at this point in the history
  • Loading branch information
davidonete committed Feb 5, 2024
1 parent 2da9165 commit a1ea0f5
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,7 @@ if (BUILD_PLAYERBOT OR PLAYERBOTS OR BUILD_IKE3_BOTS OR BUILD_MANGOSBOTS)
add_definitions(-DENABLE_MANGOSBOTS)
endif()
endif()
# Define Achievements USE_ACHIEVEMENTS if need
if (BUILD_ACHIEVEMENTS)
add_definitions(-DUSE_ACHIEVEMENTS)
endif()

# Define BUILD_ELUNA if need
if (BUILD_ELUNA)
add_definitions(-DBUILD_ELUNA -DCLASSIC -DCMANGOS)
Expand Down Expand Up @@ -155,8 +152,10 @@ endif()
if (BUILD_IMMERSIVE)
add_definitions(-DENABLE_IMMERSIVE)
endif()
if (IMMERSIVE)
add_definitions(-DENABLE_IMMERSIVE)

# Define Achievements USE_ACHIEVEMENTS if need
if (BUILD_ACHIEVEMENTS)
add_definitions(-DENABLE_ACHIEVEMENTS)
endif()

include_directories(
Expand Down

0 comments on commit a1ea0f5

Please sign in to comment.