[vlmc-devel] CMakeList: Disable crash handler by default

Hugo Beauzée-Luyssen git at videolan.org
Mon Mar 28 18:03:45 CEST 2016


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Mar 28 17:23:15 2016 +0200| [99d03bea70bb0670d0aaa14ab3f9a24435b1970d] | committer: Hugo Beauzée-Luyssen

CMakeList: Disable crash handler by default

> https://code.videolan.org/videolan/vlmc/commit/99d03bea70bb0670d0aaa14ab3f9a24435b1970d
---

 CMakeLists.txt | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index de82026..f75176f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -91,16 +91,8 @@ ENDIF(UNIX)
 SET(WITH_GUI TRUE CACHE BOOL "Enable the VLMC's GUI")
 SET(WITH_CRASHBUTTON FALSE CACHE BOOL "Enable the crash button")
 
-IF(NOT APPLE)
-    SET(WITH_CRASHHANDLER_GUI TRUE CACHE BOOL "Enable the crash handler GUI (with backtrace and restart capabilities)")
-    SET(WITH_CRASHHANDLER TRUE CACHE BOOL "Enable the crash handler")
-ELSE(NOT APPLE)
-    #FIXME: Mac OS port does n't start if crash handler is enabled.
-    SET(WITH_CRASHHANDLER_GUI FALSE CACHE BOOL "Disable crash handler gui...")
-    SET(WITH_CRASHHANDLER False CACHE BOOL "Disable the crash handler")
-    #SET(CMAKE_OSX_ARCHITECTURES i386)
-    #SET(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_BINARY_DIR}")
-ENDIF(NOT APPLE)
+SET(WITH_CRASHHANDLER_GUI FALSE CACHE BOOL "Enable the crash handler GUI (with backtrace and restart capabilities)")
+SET(WITH_CRASHHANDLER FALSE CACHE BOOL "Enable the crash handler")
 
 FIND_PACKAGE(LIBVLC REQUIRED)
 list(APPEND VLMC_LIBS ${LIBVLC_LIBRARY} ${LIBVLCCORE_LIBRARY})



More information about the Vlmc-devel mailing list