From 977b8f16d7ef43101b6ef588f9610f34285fa7e6 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 20 Sep 2017 23:01:12 +0100 Subject: Replacing SDL by glfw --- CMakeLists.txt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 808bfc0c..a1f6fe9f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,11 +16,6 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}) # find libraries find_package(OpenGL REQUIRED) -find_package(GLEW REQUIRED) - -# todo: change this to find_package -include(FindPkgConfig) -pkg_search_module(SDL2 REQUIRED sdl2) # adding libraries add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/lib) @@ -28,10 +23,10 @@ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/yage) include(cmake/cppcheck.cmake) -if(${ENABLE_TESTING}) +if($ENV{UNIT_TESTS}) # enable tests enable_testing() - set(SIMULATION_RUNS 10000) + set(SIMULATION_RUNS 100) function(make_test test_name cycles) add_executable(${test_name} ${YAGE_TEST_DIR}/${test_name}.cpp) -- cgit