mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 20:09:23 +08:00
Merge pull request #9656 from bblanchon:RelWithDebInfo
This commit is contained in:
commit
8129f5378f
@ -199,6 +199,14 @@ foreach(__cvcomponent ${OpenCV_FIND_COMPONENTS})
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
# OpenCV supports Debug and Release only.
|
||||||
|
# RelWithDebInfo and MinSizeRel are mapped to Release
|
||||||
|
if(TARGET ${__cvcomponent})
|
||||||
|
set_target_properties(${__cvcomponent} PROPERTIES
|
||||||
|
MAP_IMPORTED_CONFIG_MINSIZEREL "Release"
|
||||||
|
MAP_IMPORTED_CONFIG_RELWITHDEBINFO "Release"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
# ==============================================================
|
# ==============================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user