summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/modules/FindLIQ.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindLIQ.cmake b/cmake/modules/FindLIQ.cmake
index ec6fb9b..4a9ab25 100644
--- a/cmake/modules/FindLIQ.cmake
+++ b/cmake/modules/FindLIQ.cmake
@@ -48,8 +48,8 @@ ELSE (LIQ_FOUND)
SET(LIQ_FOUND "SORTOF")
SET(LIQ_BUILD "YES")
- SET(LIQ_LIBRARIES "${PROJECT_SOURCE_DIR}/libimagequant/libimagequant.a")
- SET(LIQ_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/libimagequant/")
+ SET(LIQ_LIBRARIES "${PROJECT_BINARY_DIR}/libimagequant/libimagequant.a")
+ SET(LIQ_INCLUDE_DIR "${PROJECT_BINARY_DIR}/libimagequant/")
SET(HAVE_LIBIMAGEQUANT_H 1)
ENDIF(NOT WIN32 OR CYGWIN OR MINGW)
ENDIF (LIQ_FOUND)