executables have on getopt.c, convert.c and index.c.
Some refactoring is going to be required in order to have a cleaner
configuration process and make it easier to maintain.
# 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)
+IF(NOT BUILD_SHARED_LIBS)
+ ADD_DEFINITIONS(-DOPJ_STATIC)
+ENDIF(NOT BUILD_SHARED_LIBS)
#FIND_PACKAGE(TIFF REQUIRED)