我收到此链接器警告。我如何使用cmake修复它?这是我的根 CMakeLists.txt:
# CMakeLists.txt /
cmake_minimum_required(VERSION 2.8)
project(FactoryPattern)
include_directories(stores/include)
add_subdirectory(factories)
add_subdirectory(ingredients)
add_subdirectory(stores)
add_executable(factory MyPizzaStore.cpp)
target_link_libraries(factory pizzaStore)