mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
[lodepng] fix build on windows
This commit is contained in:
parent
08f5d7b65c
commit
2c4db1a7d8
@ -14,9 +14,9 @@ include_directories(".")
|
|||||||
|
|
||||||
add_library(lodepng lodepng.cpp lodepng_util.cpp)
|
add_library(lodepng lodepng.cpp lodepng_util.cpp)
|
||||||
|
|
||||||
add_executable(pngdetail pngdetail.cpp)
|
# add_executable(pngdetail pngdetail.cpp)
|
||||||
|
|
||||||
target_link_libraries(pngdetail lodepng)
|
# target_link_libraries(pngdetail lodepng)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS lodepng
|
TARGETS lodepng
|
||||||
@ -25,12 +25,12 @@ install(
|
|||||||
ARCHIVE DESTINATION lib
|
ARCHIVE DESTINATION lib
|
||||||
)
|
)
|
||||||
|
|
||||||
if(NOT DISABLE_INSTALL_TOOLS)
|
# if(NOT DISABLE_INSTALL_TOOLS)
|
||||||
install (
|
# install (
|
||||||
TARGETS pngdetail
|
# TARGETS pngdetail
|
||||||
RUNTIME DESTINATION tools/lodepng
|
# RUNTIME DESTINATION tools/lodepng
|
||||||
)
|
# )
|
||||||
endif()
|
# endif()
|
||||||
|
|
||||||
if(NOT DDISABLE_INSTALL_EXAMPLES)
|
if(NOT DDISABLE_INSTALL_EXAMPLES)
|
||||||
install(DIRECTORY examples DESTINATION share/lodepng/)
|
install(DIRECTORY examples DESTINATION share/lodepng/)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user