diff options
-rw-r--r-- | Source/CursesDialog/CMakeLists.txt | 6 | ||||
-rw-r--r-- | Source/CursesDialog/form/CMakeLists.txt | 6 |
2 files changed, 6 insertions, 6 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) diff --git a/Source/CursesDialog/form/CMakeLists.txt b/Source/CursesDialog/form/CMakeLists.txt index 32c17eb..b197eb6 100644 --- a/Source/CursesDialog/form/CMakeLists.txt +++ b/Source/CursesDialog/form/CMakeLists.txt @@ -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)
\ No newline at end of file +ADD_LIBRARY(cmForm ${FORM_SRCS} )
\ No newline at end of file |