Commit b3e9f7af authored by Davis King's avatar Davis King

Made the unit tests compile all/source.cpp.

parent 4c1e0efb
......@@ -177,6 +177,7 @@ TARGET_LINK_LIBRARIES(${target_name} dlib )
if (NOT DLIB_NO_GUI_SUPPORT)
add_subdirectory(gui)
add_subdirectory(examples)
add_subdirectory(all_source)
endif()
#
# This is a CMake makefile. You can find the cmake utility and
# information about it at http://www.cmake.org
#
cmake_minimum_required(VERSION 2.8.4)
set (target_name test_all_source_builds)
PROJECT(${target_name})
include(../../cmake_utils/use_cpp_11.cmake)
ADD_LIBRARY(${target_name} STATIC ../../all/source.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