From 090ae9f6ce61a6581a6578138bdaed27156bb09a Mon Sep 17 00:00:00 2001 From: Clownacy Date: Thu, 25 Apr 2019 19:02:04 +0100 Subject: [PATCH] Fix FLTK not finding its headers Stupid FLTK_INCLUDE_DIR not being called FLTK_INCLUDE_DIRS like a normal library --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 223cabe7..1e4018cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -411,7 +411,7 @@ elseif(MSYS) target_link_libraries(DoConfig ${FLTK_LDSTATICFLAGS}) else() find_package(FLTK REQUIRED) - target_include_directories(DoConfig PRIVATE ${FLTK_INCLUDE_DIRS}) + target_include_directories(DoConfig PRIVATE ${FLTK_INCLUDE_DIR}) target_link_libraries(DoConfig ${FLTK_LIBRARIES}) endif()