aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2018-08-13 14:10:38 -0700
committerGitHub <noreply@github.com>2018-08-13 14:10:38 -0700
commita2f80bdfd7c38325f1ff2e8298ccc012e7c6ad39 (patch)
treec6446c25e1d525023d4494873ecdd4fed958cba7
parent2c0e2877814b0dd908bdead8b7fa0bc620c700da (diff)
parent2c4db1a7d839277cb6c47466951b6c4779faf95b (diff)
downloadvcpkg-a2f80bdfd7c38325f1ff2e8298ccc012e7c6ad39.tar.gz
vcpkg-a2f80bdfd7c38325f1ff2e8298ccc012e7c6ad39.zip
Merge pull request #4048 from kiwixz/pr/fix_lodepng_windows
[lodepng] fix build on windows
-rw-r--r--ports/lodepng/CMakeLists.txt16
1 files 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/)