diff --git a/dubu_rect_pack/CMakeLists.txt b/dubu_rect_pack/CMakeLists.txt index 5914432..6cc9216 100644 --- a/dubu_rect_pack/CMakeLists.txt +++ b/dubu_rect_pack/CMakeLists.txt @@ -20,6 +20,7 @@ set(src_files # Project add_library(${target_name} STATIC ${src_files}) +add_library(dubu::rect_pack ALIAS ${target_name}) set_target_properties(${target_name} PROPERTIES LINKER_LANGUAGE CXX) target_link_libraries(${target_name} diff --git a/dubu_rect_pack_test/CMakeLists.txt b/dubu_rect_pack_test/CMakeLists.txt index 37eb3b8..0da3f20 100644 --- a/dubu_rect_pack_test/CMakeLists.txt +++ b/dubu_rect_pack_test/CMakeLists.txt @@ -6,7 +6,7 @@ set(src_files add_executable(${target_name} ${src_files}) target_link_libraries(${target_name} - dubu_rect_pack + dubu::rect_pack gmock_main) set_target_properties(${target_name} PROPERTIES FOLDER ${${PROJECT_NAME}_FOLDER}/test)