From 192dfbaaab9fc3e94e9f582211800b4c47d475c6 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 19 Sep 2002 09:47:49 -0400 Subject: [PATCH] Add option for building wxWindows GUI for CMake --- Source/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index af033b031..6a108b9ea 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -108,6 +108,12 @@ IF (UNIX) ENDIF (CURSES_LIBRARY) ENDIF (UNIX) +OPTION(CMAKE_BUILD_WX_DIALOG "Build wxWindows dialog for CMake" FALSE) +MARK_AS_ADVANCED(CMAKE_BUILD_WX_DIALOG) +IF(CMAKE_BUILD_WX_DIALOG) + SUBDIRS(WXDialog) +ENDIF(CMAKE_BUILD_WX_DIALOG) + IF (NOT DART_ROOT) SET(MAKEPROGRAM ${CMAKE_MAKE_PROGRAM}) ENDIF (NOT DART_ROOT)