diff --git a/cmake/GeodeFile.cmake b/cmake/GeodeFile.cmake index d3ec3ad7..8985db70 100644 --- a/cmake/GeodeFile.cmake +++ b/cmake/GeodeFile.cmake @@ -54,10 +54,10 @@ function(setup_geode_mod proname) if (ANDROID) if (CMAKE_BUILD_TYPE STREQUAL "Release") add_custom_command( - TARGET "${PROJECT_NAME}" POST_BUILD - DEPENDS "${PROJECT_NAME}" + TARGET "${proname}" POST_BUILD + DEPENDS "${proname}" COMMAND $<$:${CMAKE_STRIP}> - ARGS -S $ + ARGS -S $ ) endif() endif()