Commit 5f15cf64 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

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

parent 9785cc14
......@@ -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}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment