Browse Source

Migrate local SDL2 copy to Git submodule

master
C. J. Howard 7 years ago
parent
commit
c9f6c94de3
3 changed files with 5 additions and 1 deletions
  1. +3
    -0
      .gitmodules
  2. +1
    -1
      CMakeLists.txt
  3. +1
    -0
      lib/SDL2

+ 3
- 0
.gitmodules View File

@ -4,3 +4,6 @@
[submodule "data"]
path = data
url = https://gitlab.com/cjhoward/antkeeper-data.git
[submodule "lib\\SDL2"]
path = lib\\SDL2
url = https://github.com/cjhoward/SDL2.git

+ 1
- 1
CMakeLists.txt View File

@ -143,7 +143,7 @@ set(SDL2_LIBRARIES
uuid
)
ExternalProject_Add(SDL2-project
SOURCE_DIR ${PROJECT_SOURCE_DIR}/lib/SDL2-2.0.5
SOURCE_DIR ${PROJECT_SOURCE_DIR}/lib/SDL2
CMAKE_ARGS
"-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}"
"-DCMAKE_INSTALL_PREFIX=${SDL2_INSTALL_DIR}"

+ 1
- 0
lib/SDL2

@ -0,0 +1 @@
Subproject commit 6f6d0abad18a8a1bb8131d2676a4ed6e606b1ccf

Loading…
Cancel
Save