diff options
author | Brad King <brad.king@kitware.com> | 2014-10-29 19:23:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-10-29 19:23:57 (GMT) |
commit | 1e48ea7ab80c0d90b4c7681aceb0cd0a56c7af49 (patch) | |
tree | 5bd35a830d1e0a5e82ab4f24ce657c1b2b934f5d /Modules | |
parent | 0c3ddf8b652311ec2a9447a9e6303691841628b4 (diff) | |
parent | f11f957949786295f6cd9e2efc5a333fa905ccc7 (diff) | |
download | CMake-1e48ea7ab80c0d90b4c7681aceb0cd0a56c7af49.zip CMake-1e48ea7ab80c0d90b4c7681aceb0cd0a56c7af49.tar.gz CMake-1e48ea7ab80c0d90b4c7681aceb0cd0a56c7af49.tar.bz2 |
Merge branch 'FindCurses-include-CheckLibraryExists' into release
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindCurses.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindCurses.cmake b/Modules/FindCurses.cmake index 0184c39..a21ca89 100644 --- a/Modules/FindCurses.cmake +++ b/Modules/FindCurses.cmake @@ -50,6 +50,8 @@ # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) +include(${CMAKE_CURRENT_LIST_DIR}/CheckLibraryExists.cmake) + find_library(CURSES_CURSES_LIBRARY NAMES curses ) find_library(CURSES_NCURSES_LIBRARY NAMES ncurses ) @@ -81,7 +83,6 @@ endif() # prefix as the library was found, if still not found, try curses.h with the # default search paths. if(CURSES_CURSES_LIBRARY AND CURSES_NEED_NCURSES) - include(${CMAKE_CURRENT_LIST_DIR}/CheckLibraryExists.cmake) include(${CMAKE_CURRENT_LIST_DIR}/CMakePushCheckState.cmake) cmake_push_check_state() set(CMAKE_REQUIRED_QUIET ${Curses_FIND_QUIETLY}) |