Skip to content

Commit e119c20

Browse files
committed
add warning when building against FLTK 1.4
1 parent 4170130 commit e119c20

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,9 @@ if (ENABLE_FLTK_1_4)
9797
)
9898
FetchContent_MakeAvailable(FLTK)
9999
find_package(FLTK 1.4 CONFIG REQUIRED)
100-
list(APPEND DILLO_FLTK_LIBS fltk::fltk)
101100
endif()
101+
message(WARNING "Dillo will attempt to link against FLTK 1.4. This might cause rendering issues!")
102+
list(APPEND DILLO_FLTK_LIBS fltk::fltk)
102103
else()
103104
find_package(FLTK REQUIRED) # 1.3
104105
list(APPEND DILLO_FLTK_INCLUDE_DIR ${FLTK_INCLUDE_DIR})

0 commit comments

Comments
 (0)