mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 20:50:25 +08:00
in the case of GCC always build jcdctmgr.c with "-O1" (ticket #519)
This commit is contained in:
parent
9785cc1427
commit
5f15cf6430
4
3rdparty/libjpeg/CMakeLists.txt
vendored
4
3rdparty/libjpeg/CMakeLists.txt
vendored
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user