xcode project rewrite
[openjpeg.git] / JavaOpenJPEG / CMakeLists.txt
index c115e4aa5ce9a5af7cca64ce9074f7c3458b8d92..66509cafd79b13dcee5dfa968b2c8204dd443512 100644 (file)
@@ -19,12 +19,6 @@ INCLUDE_DIRECTORIES(
   ${OPENJPEG_SOURCE_DIR}/libopenjpeg
   )
 
-# Do the proper thing when building static...if only there was configured
-# headers or def files instead
-IF(NOT BUILD_SHARED_LIBS)
-  ADD_DEFINITIONS(-DOPJ_STATIC)
-ENDIF(NOT BUILD_SHARED_LIBS)
-
 FIND_PACKAGE(TIFF REQUIRED)
 
 # Loop over all executables: