Skip to content

Instantly share code, notes, and snippets.

@vlj
Created February 2, 2017 19:23
Show Gist options
  • Save vlj/52a278ebf33f86da60fda532422395e4 to your computer and use it in GitHub Desktop.
Save vlj/52a278ebf33f86da60fda532422395e4 to your computer and use it in GitHub Desktop.
cmake_minimum_required (VERSION 2.6)
project (Thaegaproj)
find_file(SDL2_INCLUDE_DIR NAME SDL.h HINTS SDL2)
find_library(SDL2_LIBRARY NAME SDL2)
target_include_directories(Thaegaproj ${SDL2_INCLUDE_DIR})
add_executable(Thaegaproj main.cpp)
target_link_libraries(Thaegaproj ${SDL2_LIBRARY})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment