Commit a9b9299f authored by Davis King's avatar Davis King

Fixed DLIB_ISO_CPP_ONLY not building.

parent d223a8a0
...@@ -187,8 +187,6 @@ if (NOT TARGET dlib) ...@@ -187,8 +187,6 @@ if (NOT TARGET dlib)
unicode/unicode.cpp unicode/unicode.cpp
data_io/image_dataset_metadata.cpp data_io/image_dataset_metadata.cpp
data_io/mnist.cpp data_io/mnist.cpp
dnn/cpu_dlib.cpp
dnn/tensor_tools.cpp
global_optimization/global_function_search.cpp global_optimization/global_function_search.cpp
) )
...@@ -232,6 +230,8 @@ if (NOT TARGET dlib) ...@@ -232,6 +230,8 @@ if (NOT TARGET dlib)
threads/async.cpp threads/async.cpp
timer/timer.cpp timer/timer.cpp
stack_trace.cpp stack_trace.cpp
dnn/cpu_dlib.cpp
dnn/tensor_tools.cpp
) )
if(UNIX) if(UNIX)
......
...@@ -80,13 +80,13 @@ ...@@ -80,13 +80,13 @@
#include "../gui_core/gui_core_kernel_2.cpp" #include "../gui_core/gui_core_kernel_2.cpp"
#endif // DLIB_NO_GUI_SUPPORT #endif // DLIB_NO_GUI_SUPPORT
#include "../dnn/cpu_dlib.cpp"
#include "../dnn/tensor_tools.cpp"
#endif // DLIB_ISO_CPP_ONLY #endif // DLIB_ISO_CPP_ONLY
// Stuff that requires C++11 (and some threading stuff)
#include "../dnn/cpu_dlib.cpp"
#include "../dnn/tensor_tools.cpp"
#include "../global_optimization/global_function_search.cpp" #include "../global_optimization/global_function_search.cpp"
......
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