diff --git a/Box2D/CMakeLists.txt b/Box2D/CMakeLists.txt index 4b6ef0acc6..751bcbf6c6 100644 --- a/Box2D/CMakeLists.txt +++ b/Box2D/CMakeLists.txt @@ -19,6 +19,10 @@ if(WINDOWS) IMPORTED_LOCATION_DEBUG "${platform_spec_path}/debug/lib${lib_name}.lib" IMPORTED_LOCATION_RELEASE "${platform_spec_path}/release/lib${lib_name}.lib" ) + set_target_properties(${target_name} PROPERTIES + MAP_IMPORTED_CONFIG_MINSIZEREL Release + MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release + ) else() set_target_properties(${target_name} PROPERTIES IMPORTED_LOCATION "${platform_spec_path}/lib${lib_name}.a" diff --git a/bullet/CMakeLists.txt b/bullet/CMakeLists.txt index fee13770f4..143d348971 100644 --- a/bullet/CMakeLists.txt +++ b/bullet/CMakeLists.txt @@ -21,6 +21,10 @@ if(WINDOWS) IMPORTED_LOCATION_DEBUG "${platform_spec_path}/debug/lib${lib_name}.lib" IMPORTED_LOCATION_RELEASE "${platform_spec_path}/release/lib${lib_name}.lib" ) + set_target_properties(${target_name} PROPERTIES + MAP_IMPORTED_CONFIG_MINSIZEREL Release + MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release + ) else() set_target_properties(${target_name} PROPERTIES IMPORTED_LOCATION "${platform_spec_path}/libLinearMath.a" diff --git a/chipmunk/CMakeLists.txt b/chipmunk/CMakeLists.txt index 020f2b60ac..2348357fda 100644 --- a/chipmunk/CMakeLists.txt +++ b/chipmunk/CMakeLists.txt @@ -17,6 +17,10 @@ if(WINDOWS) IMPORTED_LOCATION_DEBUG "${platform_spec_path}/debug-lib/lib${lib_name}.lib" IMPORTED_LOCATION_RELEASE "${platform_spec_path}/release-lib/lib${lib_name}.lib" ) + set_target_properties(${target_name} PROPERTIES + MAP_IMPORTED_CONFIG_MINSIZEREL Release + MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release + ) else() set_target_properties(${target_name} PROPERTIES IMPORTED_LOCATION "${platform_spec_path}/lib${lib_name}.a"