mirror of
https://github.com/opencv/opencv.git
synced 2026-07-21 19:33:03 +04:00
Add Definition "_USE_MATH_DEFINES" for dnn plugin on Win32 build
This commit is contained in:
@@ -50,6 +50,7 @@ function(ocv_create_builtin_dnn_plugin name target)
|
||||
endforeach()
|
||||
|
||||
if(WIN32)
|
||||
add_definitions(-D_USE_MATH_DEFINES)
|
||||
set(OPENCV_PLUGIN_VERSION "${OPENCV_DLLVERSION}" CACHE STRING "")
|
||||
if(CMAKE_CXX_SIZEOF_DATA_PTR EQUAL 8)
|
||||
set(OPENCV_PLUGIN_ARCH "_64" CACHE STRING "")
|
||||
|
||||
Reference in New Issue
Block a user