Fixed CURSES_INCLUDE_DIR variable usage
authorSteffen Pankratz <kratz00@gmx.de>
Sat, 14 Feb 2015 19:27:04 +0100
changeset 878 88fa43d9788d
parent 877 dfa76b44ec1b
child 879 c2afc800b743
Fixed CURSES_INCLUDE_DIR variable usage
CMakeLists.txt
--- a/CMakeLists.txt	Wed Jan 21 21:41:07 2015 +0100
+++ b/CMakeLists.txt	Sat Feb 14 19:27:04 2015 +0100
@@ -454,7 +454,7 @@
     OPTION(MOJOSETUP_GUI_NCURSES "Enable ncurses GUI" TRUE)
     IF(MOJOSETUP_GUI_NCURSES)
         ADD_DEFINITIONS(-DSUPPORT_GUI_NCURSES=1)
-        INCLUDE_DIRECTORIES(CURSES_INCLUDE_DIR)
+        INCLUDE_DIRECTORIES(${CURSES_INCLUDE_DIR})
 
         IF(CURSES_HAVE_NCURSESW_NCURSES_H)
             ADD_DEFINITIONS(-DHAVE_NCURSESW_NCURSES_H)