summaryrefslogtreecommitdiff
path: root/applications/JavaOpenJPEG/CMakeLists.txt
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2011-09-01 11:24:08 +0000
committerAntonin Descampe <antonin@gmail.com>2011-09-01 11:24:08 +0000
commitaba0e602edd8947d149a3e69355719b1e63deae2 (patch)
tree43d61ec634eb5748a2bed36354052ff6a7d5d286 /applications/JavaOpenJPEG/CMakeLists.txt
parent22a2f98cedb14f0db778b131d67c6bd9b8835a4e (diff)
renamed getopt.{c/h} to opj_getopt.{c/h} and forced the use of these files rather than the system ones. This fixed issue 78. Credit to Winfried.
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(