Commit d1c0e27d authored by Davis King's avatar Davis King

Simplified the CMakeLists.txt file for the unit tests. Also made it

use Release mode by default.
parent 395b1524
......@@ -3,12 +3,7 @@
# information about it at http://www.cmake.org
#
# setting this makes CMake allow normal looking IF ELSE statements
SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
cmake_minimum_required(VERSION 2.4)
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
cmake_minimum_required(VERSION 2.6)
# This variable contains a list of all the tests we are building
# into the regression test suite.
......@@ -138,3 +133,6 @@ endif()
# library.
TARGET_LINK_LIBRARIES(${target_name} dlib )
# make the default build be in "Release" mode
include(../release_build_by_default)
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