mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
Add Definition "_USE_MATH_DEFINES" for dnn plugin on Win32 build
This commit is contained in:
parent
5121a1bf0d
commit
a0b28f8b06
@ -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 "")
|
||||
|
Loading…
Reference in New Issue
Block a user