Skip to content

Commit

Permalink
Set the export name for the library targets
Browse files Browse the repository at this point in the history
  • Loading branch information
ytnuf committed Nov 24, 2024
1 parent af566f3 commit fb49139
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/godotcpp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ function( godotcpp_generate )
PREFIX lib
OUTPUT_NAME "${PROJECT_NAME}.${SYSTEM_NAME}.${TARGET_NAME}.${SYSTEM_ARCH}"
ARCHIVE_OUTPUT_DIRECTORY "$<1:${CMAKE_BINARY_DIR}/bin>"
EXPORT_NAME ${TARGET_NAME}

# Things that are handy to know for dependent targets
GODOT_PLATFORM "${SYSTEM_NAME}"
Expand Down

0 comments on commit fb49139

Please sign in to comment.