summaryrefslogtreecommitdiff
path: root/applications/JavaOpenJPEG/CMakeLists.txt
diff options
context:
space:
mode:
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(