Fixed compiler error on ubuntu 16.04

This commit is contained in:
Davis King 2016-08-13 09:03:16 -04:00
parent 48507ab590
commit 70eecbd6b0
1 changed files with 1 additions and 1 deletions

View File

@ -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 )