Merge pull request #1204 from berak:Bug_3170

pull/1164/merge
Andrey Pavlenko 11 years ago committed by OpenCV Buildbot
commit c5e569d178
  1. 4
      modules/python/CMakeLists.txt

@ -81,6 +81,10 @@ if(ENABLE_SOLUTION_FOLDERS)
set_target_properties(${the_module} PROPERTIES FOLDER "bindings") set_target_properties(${the_module} PROPERTIES FOLDER "bindings")
endif() endif()
if(MSVC)
add_definitions(-DCVAPI_EXPORTS)
endif()
if(CMAKE_COMPILER_IS_GNUCXX AND NOT ENABLE_NOISY_WARNINGS) if(CMAKE_COMPILER_IS_GNUCXX AND NOT ENABLE_NOISY_WARNINGS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-function") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-function")
endif() endif()

Loading…
Cancel
Save