summaryrefslogtreecommitdiff
path: root/src/bin/wx/OPJViewer/CMakeLists.txt
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-09-28 08:59:10 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-09-28 08:59:10 +0000
commita4fa18e92df6592d16dcc18205571aea0ae9c0c9 (patch)
treeebf6d5fb39098bbfe350251a068f6f846c6008e6 /src/bin/wx/OPJViewer/CMakeLists.txt
parentf71af2a2ef70a58c10a247cb4693b3c335f674d5 (diff)
[trunk] FolderReorgProposal task: Fix Viewer
Update issue 177
Diffstat (limited to 'src/bin/wx/OPJViewer/CMakeLists.txt')
-rw-r--r--src/bin/wx/OPJViewer/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/wx/OPJViewer/CMakeLists.txt b/src/bin/wx/OPJViewer/CMakeLists.txt
index 34442848..1b61c830 100644
--- a/src/bin/wx/OPJViewer/CMakeLists.txt
+++ b/src/bin/wx/OPJViewer/CMakeLists.txt
@@ -6,6 +6,9 @@ include(${wxWidgets_USE_FILE})
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../..
${CMAKE_CURRENT_SOURCE_DIR}/..
+ ${OPENJPEG_SOURCE_DIR}/src/lib
+ ${OPENJPEG_SOURCE_DIR}/src/bin
+ ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2
)
# original flags:
@@ -19,7 +22,7 @@ set(OPJV_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/source/OPJDialogs.cpp
${CMAKE_CURRENT_SOURCE_DIR}/source/OPJThreads.cpp
${CMAKE_CURRENT_SOURCE_DIR}/source/OPJAbout.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/../codec/index.c
+ ${OPENJPEG_SOURCE_DIR}/src/bin/jp2/index.c
)
add_executable(opjviewer ${OPJV_SRCS})
target_link_libraries(opjviewer ${wxWidgets_LIBRARIES} openjpeg)