Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Sommersemester 2015
Cpp
Deth Buff Arr
Commits
c9ef8ee6
Commit
c9ef8ee6
authored
Oct 03, 2015
by
Thomas Eppers
Browse files
include sdl2 adn sdl2_mixer in a better way
parent
6f58768f
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
c9ef8ee6
...
...
@@ -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
}
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment