summaryrefslogtreecommitdiff
blob: 5e4645a8b0efb92d3298a339c5d37221b339e267 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 172889b358d0801da8d2c15196129cd911e3afc1 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
Date: Sat, 14 Oct 2017 18:59:20 +0200
Subject: [PATCH] Fix FLTK include and libs

---
 CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 60ee08a..41f7c61 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -103,8 +103,8 @@ IF(FLTK_FOUND)
     SET( FLTK_ADD_LIBS "fltk_jpeg" )
   ENDIF( NOT JPEG_FOUND )
 ENDIF(FLTK_FOUND)
-INCLUDE_DIRECTORIES( ${FLTK_INCLUDE_DIRS} )
-LINK_DIRECTORIES( ${FLTK_LIBRARY_DIRS} )
+INCLUDE_DIRECTORIES( ${FLTK_INCLUDE_DIR} )
+LINK_DIRECTORIES( ${FLTK_LIBRARIES} )
 
 FIND_PACKAGE( OpenGL )
 IF(OPENGL_FOUND)
-- 
2.14.2