[CMake] OBJECT libraries and transient include dirs

2016-08-08 Thread Wolf
Hi all, I'm trying to setup OBJECT library for the first time and I've run into problem that include directories are not transient. Let me illustrate: add_library(foo-object OBJECT src/cache.cpp) target_include_directories(foo-object PUBLIC include) add_library(foo SHARED

[CMake] symlink copy

2016-08-08 Thread Lev
All, I have a data files to install that contains symbolic link. When I install first time, everything is okay. However, if I reinstall I get this error: file INSTALL cannot duplicate symlink Is there any workaround to squelch this error? Thank you, Lev -- 73 de HA5OGL Op.: Levente -- P