Skip to content

Commit

Permalink
add warning when building against FLTK 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
MoAlyousef committed Jan 12, 2025
1 parent 4170130 commit e119c20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ if (ENABLE_FLTK_1_4)
)
FetchContent_MakeAvailable(FLTK)
find_package(FLTK 1.4 CONFIG REQUIRED)
list(APPEND DILLO_FLTK_LIBS fltk::fltk)
endif()
message(WARNING "Dillo will attempt to link against FLTK 1.4. This might cause rendering issues!")
list(APPEND DILLO_FLTK_LIBS fltk::fltk)
else()
find_package(FLTK REQUIRED) # 1.3
list(APPEND DILLO_FLTK_INCLUDE_DIR ${FLTK_INCLUDE_DIR})
Expand Down

0 comments on commit e119c20

Please sign in to comment.