Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
84f6fdd6
Commit
84f6fdd6
authored
Feb 04, 2002
by
Bill Hoffman
Browse files
ENH: use target link libraries and add the link directory for cmform
parent
1362bb41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/CursesDialog/CMakeLists.txt
View file @
84f6fdd6
...
...
@@ -15,16 +15,17 @@ SOURCE_FILES( CURSES_SRCS
)
INCLUDE_DIRECTORIES
(
${
CMake_SOURCE_DIR
}
/Source/CursesDialog/form
)
LINK_DIRECTORIES
(
${
CMake_BINARY_DIR
}
/Source/CursesDialog/form
)
INCLUDE_DIRECTORIES
(
${
CURSES_INCLUDE_PATH
}
)
LINK_LIBRARIES
(
${
CURSES_LIBRARY
}
)
IF
(
CURSES_EXTRA_LIBRARY
)
LINK_LIBRARIES
(
${
CURSES_EXTRA_LIBRARY
}
)
ENDIF
(
CURSES_EXTRA_LIBRARY
)
LINK_LIBRARIES
(
cmForm
)
ADD_EXECUTABLE
(
ccmake CURSES_SRCS
)
TARGET_LINK_LIBRARIES
(
ccmake cmForm
)
TARGET_LINK_LIBRARIES
(
ccmake
${
CURSES_LIBRARY
}
)
IF
(
CURSES_EXTRA_LIBRARY
)
TARGET_LINK_LIBRARIES
(
ccmake
${
CURSES_EXTRA_LIBRARY
}
)
ENDIF
(
CURSES_EXTRA_LIBRARY
)
INSTALL_TARGETS
(
/bin ccmake
)
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment