Fix Debug build on ubuntu
This commit is contained in:
parent
98d728fb52
commit
f83bf46171
|
@ -1,6 +1,8 @@
|
||||||
find_package(sdl2-image CONFIG REQUIRED)
|
find_package(sdl2-image CONFIG REQUIRED)
|
||||||
find_package(sdl2-ttf CONFIG REQUIRED)
|
find_package(sdl2-ttf CONFIG REQUIRED)
|
||||||
find_package(fmt CONFIG REQUIRED)
|
find_package(fmt REQUIRED)
|
||||||
|
find_package(ZLIB REQUIRED)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp")
|
file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp")
|
||||||
|
@ -8,4 +10,4 @@ file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp")
|
||||||
add_library(libpacman ${sources})
|
add_library(libpacman ${sources})
|
||||||
|
|
||||||
target_include_directories(libpacman PUBLIC .)
|
target_include_directories(libpacman PUBLIC .)
|
||||||
target_link_libraries(libpacman PUBLIC SDL2::SDL2-static SDL2::SDL2_image SDL2::SDL2_ttf fmt::fmt)
|
target_link_libraries(libpacman PUBLIC SDL2::SDL2-static SDL2::SDL2_image SDL2::SDL2_ttf fmt::fmt ZLIB::ZLIB)
|
||||||
|
|
2
vcpkg
2
vcpkg
|
@ -1 +1 @@
|
||||||
Subproject commit 7bc5b8cdfaf35329c1520b2af8d368e2b1cb78e6
|
Subproject commit 4dc864e2401f2ed3230c9042a4dd56f6d1c30360
|
|
@ -6,6 +6,7 @@
|
||||||
"sdl2-image",
|
"sdl2-image",
|
||||||
"sdl2-ttf",
|
"sdl2-ttf",
|
||||||
"fmt",
|
"fmt",
|
||||||
|
"zlib",
|
||||||
"gtest"
|
"gtest"
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in New Issue