Fixed cmake file to correctly enable C++11 by default.

This commit is contained in:
Davis King 2017-03-09 20:14:42 -05:00
parent d1003cbee5
commit 072c9d9d4d
1 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,8 @@ set (target_name htmlify)
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 htmlify)
ADD_EXECUTABLE(${target_name}
@ -18,7 +20,6 @@ ADD_EXECUTABLE(${target_name}
)
# Tell cmake to link our target executable to dlib.
include(../../dlib/cmake)
TARGET_LINK_LIBRARIES(${target_name} dlib::dlib )