shithub: cstory

Download patch

ref: 090ae9f6ce61a6581a6578138bdaed27156bb09a
parent: 0c018a9fd600e9ae1cb8792aec247bdb896f45b0
author: Clownacy <Clownacy@users.noreply.github.com>
date: Thu Apr 25 15:02:04 EDT 2019

Fix FLTK not finding its headers

Stupid FLTK_INCLUDE_DIR not being called FLTK_INCLUDE_DIRS like a normal
library

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -411,7 +411,7 @@
 	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()