summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CursesDialog/CMakeLists.txt')
-rw-r--r--Source/CursesDialog/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CursesDialog/CMakeLists.txt b/Source/CursesDialog/CMakeLists.txt
index 5824674..037f784 100644
--- a/Source/CursesDialog/CMakeLists.txt
+++ b/Source/CursesDialog/CMakeLists.txt
@@ -1,5 +1,5 @@
-SOURCE_FILES( CURSES_SRCS
+SET( CURSES_SRCS
CursesDialog/cmCursesBoolWidget
CursesDialog/cmCursesCacheEntryComposite
CursesDialog/cmCursesDummyWidget
@@ -12,7 +12,7 @@ SOURCE_FILES( CURSES_SRCS
CursesDialog/cmCursesStringWidget
CursesDialog/cmCursesWidget
CursesDialog/ccmake
- )
+ )
INCLUDE_DIRECTORIES(${CMake_SOURCE_DIR}/Source/CursesDialog/form)
LINK_DIRECTORIES(${CMake_BINARY_DIR}/Source/CursesDialog/form)
@@ -21,7 +21,7 @@ INCLUDE_DIRECTORIES(${CURSES_INCLUDE_PATH})
-ADD_EXECUTABLE(ccmake CURSES_SRCS)
+ADD_EXECUTABLE(ccmake ${CURSES_SRCS} )
TARGET_LINK_LIBRARIES(ccmake cmForm)
TARGET_LINK_LIBRARIES(ccmake ${CURSES_LIBRARY})
IF(CURSES_EXTRA_LIBRARY)