mirror of https://github.com/davisking/dlib.git
Always compile dnn code.
This commit is contained in:
parent
5f5684a8fb
commit
601d1612e0
|
@ -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} )
|
||||
|
|
Loading…
Reference in New Issue