From f16304b9d8141ec5210749fbba8c78f7eed622dd Mon Sep 17 00:00:00 2001 From: Simon Richter Date: Thu, 6 Apr 2017 03:00:52 +0200 Subject: [PATCH] Use target name instead of platform dependent path --- qa/geometry/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qa/geometry/CMakeLists.txt b/qa/geometry/CMakeLists.txt index 60c857fe6c..9615e183bc 100644 --- a/qa/geometry/CMakeLists.txt +++ b/qa/geometry/CMakeLists.txt @@ -41,10 +41,10 @@ include_directories( ) target_link_libraries(qa_geometry - ${CMAKE_BINARY_DIR}/polygon/libpolygon.a - ${CMAKE_BINARY_DIR}/common/libcommon.a - ${CMAKE_BINARY_DIR}/bitmaps_png/libbitmaps.a - ${CMAKE_BINARY_DIR}/polygon/libpolygon.a + polygon + common + polygon + bitmaps ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY} ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY}