BUG: Changed from SOURCE_FILES to SET

This commit is contained in:
Amitha Perera 2002-04-22 15:05:22 -04:00
parent 1ce7085e63
commit 64beaa8b9c
2 changed files with 6 additions and 6 deletions

View File

@ -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)

View File

@ -2,7 +2,7 @@ PROJECT(CMAKE_FORM)
INCLUDE_REGULAR_EXPRESSION("^.*$")
SOURCE_FILES(FORM_SRCS
SET( FORM_SRCS
fld_arg.c
fld_attr.c
fld_current.c
@ -42,7 +42,7 @@ SOURCE_FILES(FORM_SRCS
fty_ipv4.c
fty_num.c
fty_regex.c
)
)
INCLUDE_DIRECTORIES(${CMAKE_FORM_SOURCE_DIR})
ADD_LIBRARY(cmForm FORM_SRCS)
ADD_LIBRARY(cmForm ${FORM_SRCS} )