mirror of
https://github.com/love2d/megasource.git
synced 2026-08-17 11:11:35 +02:00
Add jasper to main CMakeLists.txt.
This commit is contained in:
@@ -18,6 +18,7 @@ set(DEP_MPG123_VER "1.15.3")
|
||||
set(DEP_FREETYPE_VER "2.5.0.1")
|
||||
set(DEP_SDL2_VER "2.0.0")
|
||||
set(DEP_OPENAL_VER "1.15.1")
|
||||
set(DEP_JASPER_VER "1.900.1")
|
||||
|
||||
set(SKIP_INSTALL_ALL TRUE)
|
||||
|
||||
@@ -38,6 +39,7 @@ add_subdirectory("libs/mpg123-${DEP_MPG123_VER}" ${CMAKE_BINARY_DIR}/mpg123)
|
||||
add_subdirectory("libs/freetype-${DEP_FREETYPE_VER}" ${CMAKE_BINARY_DIR}/freetype)
|
||||
add_subdirectory("libs/SDL2-${DEP_SDL2_VER}" ${CMAKE_BINARY_DIR}/SDL2)
|
||||
add_subdirectory("libs/openal-soft-${DEP_OPENAL_VER}" ${CMAKE_BINARY_DIR}/openal-soft)
|
||||
add_subdirectory("libs/JASPER-${DEP_JASPER_VER}" ${CMAKE_BINARY_DIR}/JASPER)
|
||||
|
||||
link_directories(${SDL_LINK_DIR})
|
||||
add_executable(ldeptest src/test.cpp)
|
||||
@@ -55,6 +57,7 @@ target_link_libraries(ldeptest
|
||||
SDL2
|
||||
SDL2main
|
||||
${OPENAL_LIB_NAME}
|
||||
jasper-static
|
||||
)
|
||||
|
||||
function(add_move_dll ARG_TARGET)
|
||||
|
||||
Reference in New Issue
Block a user