Skip to content

Commit

Permalink
Fix USE_FRIBIDI
Browse files Browse the repository at this point in the history
  • Loading branch information
BLooperZ committed Sep 2, 2024
1 parent f6fdb79 commit e84a5b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion CMake/Definitions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ foreach(
UNPACKED_MPQS
UNPACKED_SAVES
DEVILUTIONX_WINDOWS_NO_WCHAR
USE_FRIBIDI
)
if(${def_name})
list(APPEND DEVILUTIONX_DEFINITIONS ${def_name})
Expand Down Expand Up @@ -94,7 +95,6 @@ foreach(
STREAM_ALL_AUDIO_MIN_FILE_SIZE
DEVILUTIONX_DISPLAY_TEXTURE_FORMAT
DEVILUTIONX_SCREENSHOT_FORMAT
USE_FRIBIDI
)
if(DEFINED ${def_name} AND NOT ${def_name} STREQUAL "")
list(APPEND DEVILUTIONX_DEFINITIONS ${def_name}=${${def_name}})
Expand Down
1 change: 0 additions & 1 deletion CMake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -291,5 +291,4 @@ if(FRIBIDI_FOUND)
set(USE_FRIBIDI ON)
else()
message("-- Suitable system FriBidi package not found, all strings will be assumed LTR")
set(USE_FRIBIDI OFF)
endif()

0 comments on commit e84a5b4

Please sign in to comment.