diff --git a/.gitignore b/.gitignore index 538d023..90e98a1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,7 @@ bin/ -vsproject/ \ No newline at end of file +vsproject/ +CMakeCache.txt +CMakeFiles/ +Makefile +cmake_install.cmake +imgui.ini diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d043c6..0463d69 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)