← Back to team overview

kicad-developers team mailing list archive

[PATCH 2/4] 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 60c857fe6..9615e183b 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}

Follow ups

References