Re: [CMake] Using a header only library that links uses Objective-C headers

2016-11-30 Thread Henry Borchers
> > You don't compile a header only library That's what I thought but this is my first time dealing with header only libraries. Thanks for clearing up that confusion. What you need is compiling the sources using it as Objective C. > Which is a matter of adding target_compile_options( PRIVATE >

Re: [CMake] Using a header only library that links uses Objective-C headers

2016-11-30 Thread Florent Castelli
You don't compile a header only library (unless you're talking about precompiled headers, which I think you don't). What you need is compiling the sources using it as Objective C. Which is a matter of adding target_compile_options( PRIVATE "-ObjC") on the target with the sources if I remember

[CMake] Using a header only library that links uses Objective-C headers

2016-11-30 Thread Henry Borchers
First time poster so I hope I get the etiquette right. I'm a novice CMake user and I've never come across the type of issue before. I'm trying to figure out how to use this cross platform header only dialog library in my project. https://github.com/guillaumechereau/noc When using this on OSX, it