diff --git a/src/knapsack/CMakeLists.txt b/src/knapsack/CMakeLists.txt index 44e71a4..49ec57a 100644 --- a/src/knapsack/CMakeLists.txt +++ b/src/knapsack/CMakeLists.txt @@ -24,7 +24,7 @@ target_link_libraries(KnapsackSolver_knapsack_main PUBLIC KnapsackSolver_knapsack_dynamic_programming_primal_dual Boost::program_options) set_target_properties(KnapsackSolver_knapsack_main PROPERTIES OUTPUT_NAME "knapsacksolver_knapsack" ) -install(TARGETS KnapsackSolver_knapsack_main DESTINATION bin) +install(TARGETS KnapsackSolver_knapsack_main) add_library(KnapsackSolver_knapsack_generator) target_sources(KnapsackSolver_knapsack_generator PRIVATE diff --git a/src/multiple_choice_subset_sum/CMakeLists.txt b/src/multiple_choice_subset_sum/CMakeLists.txt index 7cd454a..a88272a 100644 --- a/src/multiple_choice_subset_sum/CMakeLists.txt +++ b/src/multiple_choice_subset_sum/CMakeLists.txt @@ -19,4 +19,4 @@ target_link_libraries(KnapsackSolver_multiple_choice_subset_sum_main PUBLIC KnapsackSolver_multiple_choice_subset_sum_dynamic_programming_bellman Boost::program_options) set_target_properties(KnapsackSolver_multiple_choice_subset_sum_main PROPERTIES OUTPUT_NAME "knapsacksolver_multiple_choice_subset_sum" ) -install(TARGETS KnapsackSolver_multiple_choice_subset_sum_main DESTINATION bin) +install(TARGETS KnapsackSolver_multiple_choice_subset_sum_main) diff --git a/src/subset_sum/CMakeLists.txt b/src/subset_sum/CMakeLists.txt index f083e6f..008126e 100644 --- a/src/subset_sum/CMakeLists.txt +++ b/src/subset_sum/CMakeLists.txt @@ -21,7 +21,7 @@ target_link_libraries(KnapsackSolver_subset_sum_main PUBLIC KnapsackSolver_subset_sum_dynamic_programming_primal_dual Boost::program_options) set_target_properties(KnapsackSolver_subset_sum_main PROPERTIES OUTPUT_NAME "knapsacksolver_subset_sum" ) -install(TARGETS KnapsackSolver_subset_sum_main DESTINATION bin) +install(TARGETS KnapsackSolver_subset_sum_main) add_library(KnapsackSolver_subset_sum_generator) target_sources(KnapsackSolver_subset_sum_generator PRIVATE