Skip to content

Commit f4c15a9

Browse files
committed
macos lib naming correction
1 parent 00151a1 commit f4c15a9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ target_link_libraries(${TARGET_NAME} PRIVATE godot-cpp)
2929

3030
### Get useful properties from godot-cpp target
3131
get_target_property(GODOTCPP_SUFFIX godot-cpp GODOTCPP_SUFFIX)
32+
get_target_property(GODOTCPP_TARGET godot-cpp GODOTCPP_TARGET)
3233

3334
# gersemi: off
3435
set_target_properties(
@@ -64,6 +65,6 @@ set_target_properties(
6465
if(CMAKE_SYSTEM_NAME STREQUAL Darwin)
6566
set_target_properties(
6667
${TARGET_NAME}
67-
PROPERTIES SUFFIX "" OUTPUT_DIR "${OUTPUT_DIR}/libgdexample.macos.${GODOTCPP_TARGET}.framework"
68+
PROPERTIES OUTPUT_NAME "gdexample.macos.${GODOTCPP_TARGET}" SUFFIX ".framework"
6869
)
6970
endif()

0 commit comments

Comments
 (0)