From 2c4db1a7d839277cb6c47466951b6c4779faf95b Mon Sep 17 00:00:00 2001 From: kiwixz Date: Fri, 10 Aug 2018 04:40:09 +0200 Subject: [PATCH] [lodepng] fix build on windows --- ports/lodepng/CMakeLists.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ports/lodepng/CMakeLists.txt b/ports/lodepng/CMakeLists.txt index d4c8bc12a..0ffd39549 100644 --- a/ports/lodepng/CMakeLists.txt +++ b/ports/lodepng/CMakeLists.txt @@ -14,9 +14,9 @@ include_directories(".") 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( TARGETS lodepng @@ -25,12 +25,12 @@ install( ARCHIVE DESTINATION lib ) -if(NOT DISABLE_INSTALL_TOOLS) - install ( - TARGETS pngdetail - RUNTIME DESTINATION tools/lodepng - ) -endif() +# if(NOT DISABLE_INSTALL_TOOLS) +# install ( +# TARGETS pngdetail +# RUNTIME DESTINATION tools/lodepng +# ) +# endif() if(NOT DDISABLE_INSTALL_EXAMPLES) install(DIRECTORY examples DESTINATION share/lodepng/)