blob: 1140fcc9ac75e4f25ea2b77267381eabeaad09c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
CMakeLists.txt | 1 -
1 file changed, 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 407e39a..f24a087 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -270,7 +270,6 @@ if(PNGLIB)
set(USE_PNGLIB ${PNG_FOUND})
if(PNG_FOUND)
set(LIBRARIES ${LIBRARIES} ${PNG_LIBRARIES})
- set(LINK_DIRECTORIES ${LINK_DIRECTORIES} ${PNG_LIBRARY_DIRS})
include_directories(${PNG_INCLUDE_DIRS})
else(PNG_FOUND)
message(FATAL_ERROR "libpng is required but was not found.\n"
|