Always compile dnn code.

This commit is contained in:
Davis King 2017-01-21 21:26:15 -05:00
parent 5f5684a8fb
commit 601d1612e0
1 changed files with 3 additions and 6 deletions

View File

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