30 lines
939 B
Plaintext
30 lines
939 B
Plaintext
$OpenBSD: patch-CMakeLists_txt,v 1.14 2014/09/11 10:24:38 dcoppa Exp $
|
|
--- CMakeLists.txt.orig Thu Jul 31 17:03:56 2014
|
|
+++ CMakeLists.txt Wed Sep 3 08:10:09 2014
|
|
@@ -247,6 +247,15 @@ macro (CMAKE_BUILD_UTILITIES)
|
|
# (a macro defined in this file)
|
|
CMAKE_HANDLE_SYSTEM_LIBRARIES()
|
|
|
|
+ if($ENV{LOCALBASE})
|
|
+ set(OPENBSD_LOCALBASE $ENV{LOCALBASE})
|
|
+ else()
|
|
+ set(OPENBSD_LOCALBASE "/usr/local")
|
|
+ endif()
|
|
+
|
|
+ # to find expat and curl
|
|
+ link_directories("${OPENBSD_LOCALBASE}/lib")
|
|
+
|
|
#---------------------------------------------------------------------
|
|
# Build zlib library for Curl, CMake, and CTest.
|
|
set(CMAKE_ZLIB_HEADER "cm_zlib.h")
|
|
@@ -381,9 +390,6 @@ macro (CMAKE_BUILD_UTILITIES)
|
|
else ()
|
|
set(BUILD_CursesDialog 0)
|
|
endif ()
|
|
- if(BUILD_CursesDialog)
|
|
- add_subdirectory(Source/CursesDialog/form)
|
|
- endif()
|
|
endmacro ()
|
|
|
|
#-----------------------------------------------------------------------
|