diff options
| author | Luis Ibanez <luis.ibanez@gmail.com> | 2010-09-01 00:52:26 +0000 |
|---|---|---|
| committer | Luis Ibanez <luis.ibanez@gmail.com> | 2010-09-01 00:52:26 +0000 |
| commit | 61595fc656233d0888ebd085c26ad5e2d83749ef (patch) | |
| tree | 0508f4e663c389417d30a95e379993e09a208888 /codec | |
| parent | 81f79c4c16a9072336cad2f8e34183cde300ebcc (diff) | |
COMP: Fixing configuration for static builds. Fixing dependencies that several
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.
Diffstat (limited to 'codec')
| -rw-r--r-- | codec/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/codec/CMakeLists.txt b/codec/CMakeLists.txt index 5ed13e70..24595c7a 100644 --- a/codec/CMakeLists.txt +++ b/codec/CMakeLists.txt @@ -27,9 +27,9 @@ ENDIF(DONT_HAVE_GETOPT) # 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) |
