Created
February 2, 2017 19:23
-
-
Save vlj/52a278ebf33f86da60fda532422395e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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