mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-14 18:31:20 +00:00
Fix libPNG
This commit is contained in:
parent
b774d56810
commit
20109bddc3
@ -75,7 +75,7 @@ add_library(AssetNameMapNull
|
|||||||
get_target_property(HECL_INCLUDES hecl-full INCLUDE_DIRECTORIES)
|
get_target_property(HECL_INCLUDES hecl-full INCLUDE_DIRECTORIES)
|
||||||
target_include_directories(RetroDataSpec PUBLIC ${LIBPNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}
|
target_include_directories(RetroDataSpec PUBLIC ${LIBPNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}
|
||||||
${HECL_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR})
|
${HECL_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR})
|
||||||
target_link_libraries(RetroDataSpec PUBLIC amuse zeus nod specter squish ${PNG_LIB} ${ZLIB_LIBRARIES} lzokay logvisor)
|
target_link_libraries(RetroDataSpec PUBLIC amuse zeus nod specter squish ${PNG_LIBRARIES} ${ZLIB_LIBRARIES} lzokay logvisor)
|
||||||
if(COMMAND add_sanitizers)
|
if(COMMAND add_sanitizers)
|
||||||
add_sanitizers(RetroDataSpec)
|
add_sanitizers(RetroDataSpec)
|
||||||
endif()
|
endif()
|
||||||
|
@ -5,7 +5,7 @@ find_library(M_LIB m)
|
|||||||
if(NOT M_LIB)
|
if(NOT M_LIB)
|
||||||
unset(M_LIB CACHE)
|
unset(M_LIB CACHE)
|
||||||
endif()
|
endif()
|
||||||
target_link_libraries(packbadge ${PNG_LIB} ${ZLIB_LIBRARIES} ${M_LIB})
|
target_link_libraries(packbadge ${PNG_LIBRARIES} ${ZLIB_LIBRARIES} ${M_LIB})
|
||||||
target_include_directories(packbadge PRIVATE ${LIBPNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
|
target_include_directories(packbadge PRIVATE ${LIBPNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
|
||||||
|
|
||||||
##################
|
##################
|
||||||
|
@ -4,7 +4,7 @@ find_library(M_LIB m)
|
|||||||
if(NOT M_LIB)
|
if(NOT M_LIB)
|
||||||
unset(M_LIB CACHE)
|
unset(M_LIB CACHE)
|
||||||
endif()
|
endif()
|
||||||
target_link_libraries(packicons ${PNG_LIB} ${ZLIB_LIBRARIES} ${M_LIB})
|
target_link_libraries(packicons ${PNG_LIBRARIES} ${ZLIB_LIBRARIES} ${M_LIB})
|
||||||
target_include_directories(packicons PRIVATE ${LIBPNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
|
target_include_directories(packicons PRIVATE ${LIBPNG_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
|
||||||
|
|
||||||
##################
|
##################
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
add_executable(mkwmicon mkwmicon.c)
|
add_executable(mkwmicon mkwmicon.c)
|
||||||
target_include_directories(mkwmicon PRIVATE ${LIBPNG_INCLUDE_DIR})
|
target_include_directories(mkwmicon PRIVATE ${LIBPNG_INCLUDE_DIR})
|
||||||
target_link_libraries(mkwmicon ${PNG_LIB} ${ZLIB_LIBRARIES})
|
target_link_libraries(mkwmicon ${ZLIB_LIBRARIES} ${PNG_LIBRARIES})
|
||||||
|
|
||||||
macro(declare_wmicon_target)
|
macro(declare_wmicon_target)
|
||||||
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/Editor/platforms/freedesktop/mainicon_netwm.bin
|
add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/Editor/platforms/freedesktop/mainicon_netwm.bin
|
||||||
|
2
amuse
2
amuse
@ -1 +1 @@
|
|||||||
Subproject commit 70380d8fbcbc619ef815f64750817ca1052bb9f9
|
Subproject commit aa9ef6e8668b6108073c54ccd7db00d4d1e53c42
|
2
hecl
2
hecl
@ -1 +1 @@
|
|||||||
Subproject commit 8b38a49a404a7d96a7556ae9b6250dfb6d143bba
|
Subproject commit 6c34f2c6f87356a45a9819f8623e1410b12ff117
|
2
hecl-gui
2
hecl-gui
@ -1 +1 @@
|
|||||||
Subproject commit a23a15988abd05a04dd7145c849d0ed9074c0c7f
|
Subproject commit b676e497a64b5293061135caf4d358959e03461a
|
Loading…
x
Reference in New Issue
Block a user