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 )