in the case of GCC always build jcdctmgr.c with "-O1" (ticket #519)

This commit is contained in:
Vadim Pisarevsky 2010-11-20 12:59:46 +00:00
parent 9785cc1427
commit 5f15cf6430

View File

@ -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}"