Skip to content

Commit

Permalink
Linux fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dfranx committed Aug 24, 2020
1 parent a6d2f93 commit 0d1861f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
bin/
vsproject/
vsproject/
CMakeCache.txt
CMakeFiles/
Makefile
cmake_install.cmake
imgui.ini
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ set(SOURCES
libs/imgui/examples/imgui_impl_sdl.cpp
)

# pkg
if (UNIX)
find_package(PkgConfig REQUIRED)
endif()

# sdl2
if(WIN32 OR APPLE OR NOT ${USE_PKG_CHECK_SDL})
find_package(SDL2 REQUIRED)
Expand Down

0 comments on commit 0d1861f

Please sign in to comment.