mirror of https://github.com/davisking/dlib.git
Fixed compiler error on ubuntu 16.04
This commit is contained in:
parent
48507ab590
commit
70eecbd6b0
|
@ -9,6 +9,7 @@ cmake_minimum_required(VERSION 2.8.4)
|
||||||
set (target_name imglab)
|
set (target_name imglab)
|
||||||
|
|
||||||
PROJECT(${target_name})
|
PROJECT(${target_name})
|
||||||
|
include(../../dlib/cmake)
|
||||||
|
|
||||||
# add all the cpp files we want to compile to this list. This tells
|
# 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)
|
# 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.
|
# Tell cmake to link our target executable to dlib.
|
||||||
include(../../dlib/cmake)
|
|
||||||
TARGET_LINK_LIBRARIES(${target_name} dlib )
|
TARGET_LINK_LIBRARIES(${target_name} dlib )
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue