projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9785cc1
)
in the case of GCC always build jcdctmgr.c with "-O1" (ticket #519)
author
Vadim Pisarevsky
<no@email>
Sat, 20 Nov 2010 12:59:46 +0000
(12:59 +0000)
committer
Vadim Pisarevsky
<no@email>
Sat, 20 Nov 2010 12:59:46 +0000
(12:59 +0000)
3rdparty/libjpeg/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/3rdparty/libjpeg/CMakeLists.txt
b/3rdparty/libjpeg/CMakeLists.txt
index
952a212
..
f73d2ce
100644
(file)
--- a/
3rdparty/libjpeg/CMakeLists.txt
+++ b/
3rdparty/libjpeg/CMakeLists.txt
@@
-38,6
+38,10
@@
if(UNIX)
endif()
endif()
+if(CMAKE_COMPILER_IS_GNUCXX)
+ set_source_files_properties(jcdctmgr.c PROPERTIES COMPILE_FLAGS "-O1")
+endif()
+
set_target_properties(${the_target}
PROPERTIES OUTPUT_NAME "${the_target}"
DEBUG_POSTFIX "${OPENCV_DEBUG_POSTFIX}"