File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ if(WINDOWS)
1919 IMPORTED_LOCATION_DEBUG "${platform_spec_path} /debug/lib${lib_name} .lib"
2020 IMPORTED_LOCATION_RELEASE "${platform_spec_path} /release/lib${lib_name} .lib"
2121 )
22+ set_target_properties (${target_name} PROPERTIES
23+ MAP_IMPORTED_CONFIG_MINSIZEREL Release
24+ MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release
25+ )
2226else ()
2327 set_target_properties (${target_name} PROPERTIES
2428 IMPORTED_LOCATION "${platform_spec_path} /lib${lib_name} .a"
Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ if(WINDOWS)
2121 IMPORTED_LOCATION_DEBUG "${platform_spec_path} /debug/lib${lib_name} .lib"
2222 IMPORTED_LOCATION_RELEASE "${platform_spec_path} /release/lib${lib_name} .lib"
2323 )
24+ set_target_properties (${target_name} PROPERTIES
25+ MAP_IMPORTED_CONFIG_MINSIZEREL Release
26+ MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release
27+ )
2428else ()
2529 set_target_properties (${target_name} PROPERTIES
2630 IMPORTED_LOCATION "${platform_spec_path} /libLinearMath.a"
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ if(WINDOWS)
1717 IMPORTED_LOCATION_DEBUG "${platform_spec_path} /debug-lib/lib${lib_name} .lib"
1818 IMPORTED_LOCATION_RELEASE "${platform_spec_path} /release-lib/lib${lib_name} .lib"
1919 )
20+ set_target_properties (${target_name} PROPERTIES
21+ MAP_IMPORTED_CONFIG_MINSIZEREL Release
22+ MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release
23+ )
2024else ()
2125 set_target_properties (${target_name} PROPERTIES
2226 IMPORTED_LOCATION "${platform_spec_path} /lib${lib_name} .a"
You can’t perform that action at this time.
0 commit comments