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

pull/13383/head
Vadim Pisarevsky 14 years ago
parent 9785cc1427
commit 5f15cf6430
  1. 4
      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}"

Loading…
Cancel
Save