From 7403e77d4dc5730d100ac10e7e78a154425bf2e8 Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Fri, 6 Sep 2013 01:50:46 -0400 Subject: [PATCH] Add some hacky includes and libraries to support writing out debug images --- PVRTCEncoder/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PVRTCEncoder/CMakeLists.txt b/PVRTCEncoder/CMakeLists.txt index 86d6722..a36c3c9 100644 --- a/PVRTCEncoder/CMakeLists.txt +++ b/PVRTCEncoder/CMakeLists.txt @@ -54,6 +54,8 @@ INCLUDE_DIRECTORIES(${FasTC_SOURCE_DIR}) INCLUDE_DIRECTORIES(${FasTC_SOURCE_DIR}/PVRTCEncoder/include) INCLUDE_DIRECTORIES(${FasTC_BINARY_DIR}/PVRTCEncoder/include) +INCLUDE_DIRECTORIES(${FasTC_SOURCE_DIR}/Core/include) + SET( HEADERS include/PVRTCCompressor.h src/Pixel.h @@ -72,3 +74,6 @@ ADD_LIBRARY( PVRTCEncoder ${HEADERS} ${SOURCES} ) + +TARGET_LINK_LIBRARIES( PVRTCEncoder FasTCCore ) +TARGET_LINK_LIBRARIES( PVRTCEncoder FasTCIO )