summaryrefslogtreecommitdiff
path: root/applications/JavaOpenJPEG/CMakeLists.txt
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2011-09-01 12:08:10 +0000
committerAntonin Descampe <antonin@gmail.com>2011-09-01 12:08:10 +0000
commit9a89e2f162804ab5d39dac0d1e0469816a2cfb45 (patch)
tree9457a2c0baafc4b9f4bd00ce933e660cce32bed8 /applications/JavaOpenJPEG/CMakeLists.txt
parente89eb575ac3f6d5076aff5e7d1bf1a442386ebce (diff)
backport r898 to r907 in openjpeg-1.5 branch
Diffstat (limited to 'applications/JavaOpenJPEG/CMakeLists.txt')
-rw-r--r--applications/JavaOpenJPEG/CMakeLists.txt9
1 files changed, 1 insertions, 8 deletions
diff --git a/applications/JavaOpenJPEG/CMakeLists.txt b/applications/JavaOpenJPEG/CMakeLists.txt
index 6b1720b3..ecc8340d 100644
--- a/applications/JavaOpenJPEG/CMakeLists.txt
+++ b/applications/JavaOpenJPEG/CMakeLists.txt
@@ -4,16 +4,9 @@
SET(common_SRCS
../codec/convert.c
../codec/index.c
+ ../common/opj_getopt.c
)
-# If not getopt was found then add it to the lib:
-IF(DONT_HAVE_GETOPT)
- SET(common_SRCS
- ${common_SRCS}
- ../common/getopt.c
- )
-ENDIF(DONT_HAVE_GETOPT)
-
# Headers file are located here:
INCLUDE_DIRECTORIES(