summaryrefslogtreecommitdiff
path: root/codec/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'codec/CMakeLists.txt')
-rw-r--r--codec/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/codec/CMakeLists.txt b/codec/CMakeLists.txt
index 5ad89589..6fd128f7 100644
--- a/codec/CMakeLists.txt
+++ b/codec/CMakeLists.txt
@@ -1,16 +1,17 @@
-# Build the demo app, small examples
+ # Build the demo app, small examples
# First thing define the common source:
SET(common_SRCS
convert.c
index.c
+ ${PROJECT_SOURCE_DIR}/common/color.c
)
# If not getopt was found then add it to the lib:
IF(DONT_HAVE_GETOPT)
SET(common_SRCS
${common_SRCS}
- compat/getopt.c
+ ${PROJECT_SOURCE_DIR}/common/getopt.c
)
ENDIF(DONT_HAVE_GETOPT)
@@ -18,6 +19,7 @@ ENDIF(DONT_HAVE_GETOPT)
INCLUDE_DIRECTORIES(
${OPENJPEG_SOURCE_DIR}/libopenjpeg
${LCMS_INCLUDE_DIR}
+ ${OPENJPEG_SOURCE_DIR}/common
)
IF(PNG_FOUND)
INCLUDE_DIRECTORIES(${PNG_INCLUDE_DIR})