diff options
| author | kiwixz <kiwixz@outlook.com> | 2018-08-10 04:40:09 +0200 |
|---|---|---|
| committer | kiwixz <kiwixz@outlook.com> | 2018-08-10 04:46:59 +0200 |
| commit | 2c4db1a7d839277cb6c47466951b6c4779faf95b (patch) | |
| tree | d4b24d896ddc202fbef98c8203630ed9da5a9e10 | |
| parent | 08f5d7b65c456f571980ec212720402069b01732 (diff) | |
| download | vcpkg-2c4db1a7d839277cb6c47466951b6c4779faf95b.tar.gz vcpkg-2c4db1a7d839277cb6c47466951b6c4779faf95b.zip | |
[lodepng] fix build on windows
| -rw-r--r-- | ports/lodepng/CMakeLists.txt | 16 |
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/) |
