Commit c9ef8ee6 authored by Thomas Eppers's avatar Thomas Eppers
Browse files

include sdl2 adn sdl2_mixer in a better way

parent 6f58768f
......@@ -22,14 +22,16 @@ endif ()
################################################################################
find_package(OpenGL)
include(FindPkgConfig)
PKG_SEARCH_MODULE(SDL2 REQUIRED sdl2)
PKG_SEARCH_MODULE(SDL2MIXER REQUIRED SDL2_mixer)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/lib/recastnavigation/Recast/Include
${CMAKE_CURRENT_SOURCE_DIR}/lib/recastnavigation/DetourCrowd/Include
${CMAKE_CURRENT_SOURCE_DIR}/lib/recastnavigation/Detour/Include
${CMAKE_CURRENT_SOURCE_DIR}/lib/recastnavigation/DebugUtils/Include
${CMAKE_CURRENT_SOURCE_DIR}/lib/recastnavigation/DetourTileCache/Include
${CMAKE_CURRENT_SOURCE_DIR}/lib/sdl2/include
${CMAKE_CURRENT_SOURCE_DIR}/lib/sdl2_mixer/x86_64-w64-mingw32/include/SDL2
${CMAKE_CURRENT_SOURCE_DIR}/include
${CMAKE_CURRENT_SOURCE_DIR}/lib/nanovg/src
)
......@@ -38,6 +40,8 @@ FILE(GLOB_RECURSE clion_all_headers
${CMAKE_CURRENT_SOURCE_DIR}/include/*.h
${CMAKE_CURRENT_SOURCE_DIR}/include/*.hpp
${CMAKE_CURRENT_SOURCE_DIR}/*.inl
${SDL2_INCLUDE_DIRS}
${SDL2_mixer_INCLUDE_DIRS}
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment