From 240aef404179f7db90b558a5f483ee360ed8076c Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Mon, 16 Feb 2015 16:45:27 -0500 Subject: [PATCH] Even better way to compile --- openbr/plugins/dlib.cmake | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/openbr/plugins/dlib.cmake b/openbr/plugins/dlib.cmake index 958af62..9c594ad 100644 --- a/openbr/plugins/dlib.cmake +++ b/openbr/plugins/dlib.cmake @@ -3,6 +3,8 @@ set(BR_WITH_DLIB OFF CACHE BOOL "Build with DLib") if(${BR_WITH_DLIB}) find_package(DLib REQUIRED) + add_definitions(-DDLIB_NO_GUI_SUPPORT) + set(BR_THIRDPARTY_SRC ${BR_THIRDPARTY_SRC} plugins/dlib.cpp) set(BR_THIRDPARTY_SRC ${BR_THIRDPARTY_SRC} ${DLib_DIR}/dlib/all/source.cpp) -- libgit2 0.21.4