Don't test on clang and fix include problem in appveyor

Clang doesn't have the same --wrap linker flag that GCC has. Just ignore
it for now.
This commit is contained in:
Linus Probert 2018-05-18 14:17:29 +02:00
parent 138cba1400
commit e222e51a0e
2 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ if (MSVC)
endif (MSVC)
# TESTS:
IF (CMOCKA_FOUND)
IF (CMOCKA_FOUND AND NOT CLANG)
find_package(Threads REQUIRED)
enable_testing()
add_executable(test_util test/test_util src/util)

View File

@ -19,7 +19,7 @@
#ifndef KEYBOARD_H_
#define KEYBOARD_H_
#include <SDL.h>
#include <SDL_events.h>
#include <stdbool.h>
#include "defines.h"