← Back to team overview

kicad-developers team mailing list archive

Re: SHAPE_POLY_SET tests not building for me on macOS

 

You may apply attached patch.

2017-03-25 13:04 GMT+01:00 Alejandro Garcia Montoro
<alejandro.garciamontoro@xxxxxxxxx>:
> I didn't have the chance to test this on macOS and I don't have access to a
> macOS machine right now :(
> Probably qa/geometry/CMakeLists.txt should be fixed (my experience with
> CMake and other OSes different than Linux is quite limited).
>
> 2017-03-25 2:47 GMT+01:00 Chris Pavlina <pavlina.chris@xxxxxxxxx>:
>>
>> Has cc7825d been tested on macOS? It's refusing to build for me on macOS
>> Sierra, clang complains that boost/test/unit_test.hpp doesn't exist. It
>> does, so I guess the include path must be set wrong (missing
>> /usr/local/include). I'm not sure how the build on those works...
>>
>> --
>> Chris
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
From a520b913b0024bdf0449117843832e51fa0a21c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nick=20=C3=98stergaard?= <oe.nick@xxxxxxxxx>
Date: Sat, 25 Mar 2017 22:46:02 +0100
Subject: [PATCH] Add boost include dir to qa/geometry

This is needed on OSX, I don't know why it works on linux and windows
without it.
---
 qa/geometry/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/qa/geometry/CMakeLists.txt b/qa/geometry/CMakeLists.txt
index 51bd00e81..60c857fe6 100644
--- a/qa/geometry/CMakeLists.txt
+++ b/qa/geometry/CMakeLists.txt
@@ -37,6 +37,7 @@ include_directories(
     ${CMAKE_SOURCE_DIR}/include
     ${CMAKE_SOURCE_DIR}/polygon
     ${CMAKE_SOURCE_DIR}/common/geometry
+    ${Boost_INCLUDE_DIR}
 )
 
 target_link_libraries(qa_geometry
-- 
2.12.1


Follow ups

References