From 70eecbd6b0cf2808c1e5c5f74eee3a78456d6a2e Mon Sep 17 00:00:00 2001 From: Davis King Date: Sat, 13 Aug 2016 09:03:16 -0400 Subject: [PATCH] Fixed compiler error on ubuntu 16.04 --- tools/imglab/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/imglab/CMakeLists.txt b/tools/imglab/CMakeLists.txt index f41fa1a2f..43722aaf0 100644 --- a/tools/imglab/CMakeLists.txt +++ b/tools/imglab/CMakeLists.txt @@ -9,6 +9,7 @@ cmake_minimum_required(VERSION 2.8.4) set (target_name imglab) PROJECT(${target_name}) +include(../../dlib/cmake) # add all the cpp files we want to compile to this list. This tells # cmake that they are part of our target (which is the executable named imglab) @@ -29,7 +30,6 @@ ADD_EXECUTABLE(${target_name} # Tell cmake to link our target executable to dlib. -include(../../dlib/cmake) TARGET_LINK_LIBRARIES(${target_name} dlib )