mirror of
https://github.com/opencv/opencv.git
synced 2026-09-11 04:43:22 -05:00
Compile opencv_test_core with cv::String instead of std::string
All tests passed!
This commit is contained in:
@@ -46,6 +46,13 @@ MACRO(_PCH_GET_COMPILE_FLAGS _out_compile_flags)
|
||||
LIST(APPEND ${_out_compile_flags} "-fPIC")
|
||||
ENDIF()
|
||||
|
||||
GET_TARGET_PROPERTY(_target_definitions ${_PCH_current_target} COMPILE_DEFINITIONS)
|
||||
if(_target_definitions)
|
||||
foreach(_def ${_target_definitions})
|
||||
LIST(APPEND ${_out_compile_flags} "-D${_def}")
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
ELSE()
|
||||
## TODO ... ? or does it work out of the box
|
||||
ENDIF()
|
||||
|
||||
Reference in New Issue
Block a user