From 31e38a8ef4f0c11a5f3d8ee538a1ae748468e93f Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 25 Dec 2008 02:12:54 +0000 Subject: [PATCH] another cmakelists.txt fix --- CMakeLists.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ca1e3e68e..9be4c2514 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -203,7 +203,7 @@ if(build_examples) foreach(s ${examples}) add_executable(${s} examples/${s}.cpp) - target_link_libraries(${s} torrent) + target_link_libraries(${s} torrent-rasterbar) endforeach(s) FIND_PACKAGE( Boost 1.34 COMPONENTS program_options regex) @@ -240,14 +240,13 @@ if(build_tests) foreach(s ${tests}) add_executable(${s} test/${s}.cpp) - target_link_libraries(${-rasterbars} torrent-rasterbar test_common) + target_link_libraries(${s} torrent-rasterbar test_common) add_test(${s} ${s}) endforeach(s) add_executable(test_upnp test/test_upnp.cpp) - target_link_libraries(test_upnp torrent) + target_link_libraries(test_upnp torrent-rasterbar) add_executable(test_natpmp test/test_natpmp.cpp) - target_link_libraries(test_natpmp torrent) + target_link_libraries(test_natpmp torrent-rasterbar) endif(build_tests) -