diff options
| author | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2007-11-08 14:26:03 +0000 |
|---|---|---|
| committer | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2007-11-08 14:26:03 +0000 |
| commit | c38de0728d481f1c821d9e86df960e1f1c36c04f (patch) | |
| tree | abb7fd32919c66ab8af75f5936d1035f2b3a1198 /CMakeLists.txt | |
| parent | b93c12564daea92200eefc596d4c438b1b00c1c4 (diff) | |
In t1.c, small change to avoid calling twice t1_getwmsedec()
Patch from Callum Lewick. Basic gcc optimization flags in cmake and makefile match.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index dc3783b8..17b4098c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -116,3 +116,7 @@ FIND_PATH(JPEG2000_CONFORMANCE_DATA_ROOT testimages.html $ENV{JPEG2000_CONFORMANCE_DATA_ROOT} ) +IF(CMAKE_COMPILER_IS_GNUCC) + SET(CMAKE_WARN_FLAGS "-Wall") + SET(CMAKE_C_FLAGS "${CMAKE_WARN_FLAGS} -ffast-math -std=c99 ${CMAKE_C_FLAGS}") +ENDIF(CMAKE_COMPILER_IS_GNUCC) |
