Commit 601d1612 authored by Davis King's avatar Davis King

Always compile dnn code.

parent 5f5684a8
......@@ -180,14 +180,11 @@ if (NOT TARGET dlib)
tokenizer/tokenizer_kernel_1.cpp
unicode/unicode.cpp
data_io/image_dataset_metadata.cpp
data_io/mnist.cpp)
if (COMPILER_CAN_DO_CPP_11)
set(source_files ${source_files}
data_io/mnist.cpp
dnn/cpu_dlib.cpp
dnn/tensor_tools.cpp
)
endif()
)
if (DLIB_ISO_CPP_ONLY)
add_library(dlib STATIC ${source_files} )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment