Mercurial > malikania
view cmake/packages/FindSDL2_ttf.cmake @ 199:9ef01392a7f1
tests: make a database test fixture, closes #939 @4h
Start PostgreSQL for each test in a clean directory and initialize a malikaniadb
within. Only enable unix domain sockets to avoid collision with a system
instance.
While here, move out the init script into a dedicated file until we find a good
solution for initializing databases and upgrading.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 30 Oct 2018 13:21:55 +0100 |
parents | 8991989c4708 |
children |
line wrap: on
line source
# FindSDL2_ttf.cmake # ------------------ # # Find SDL2_ttf library, this modules defines: # # SDL2_TTF_INCLUDE_DIRS, where to find SDL_ttf.h # SDL2_TTF_LIBRARIES, where to find library # SDL2_TTF_FOUND, if it is found find_path( SDL2_TTF_INCLUDE_DIR NAMES SDL_ttf.h PATH_SUFFIXES SDL2 ) find_library( SDL2_TTF_LIBRARY NAMES libSDL2_ttf SDL2_ttf ) include(FindPackageHandleStandardArgs) find_package_handle_standard_args( SDL2_ttf FOUND_VAR SDL2_TTF_FOUND REQUIRED_VARS SDL2_TTF_LIBRARY SDL2_TTF_INCLUDE_DIR ) set(SDL2_TTF_LIBRARIES ${SDL2_TTF_LIBRARY}) set(SDL2_TTF_INCLUDE_DIRS ${SDL2_TTF_INCLUDE_DIR}) mark_as_advanced(SDL2_TTF_INCLUDE_DIR SDL2_TTF_LIBRARY)