Re: [CMake] set_property imported_location_release

2018-12-21 Thread Lars
That is what I thought. Thank you. Fra: Marc CHEVRIER Sendt: fredag 21. desember 2018 15.46.18 Til: cmake@cmake.org; Lars Emne: Re: Sv: [CMake] set_property imported_location_release Yes, the most efficient way is using conditional setting. For example

Re: [CMake] set_property imported_location_release

2018-12-21 Thread Marc CHEVRIER
; Kind regards, Lars > > Fra: Marc CHEVRIER > Sendt: fredag 21. desember 2018 13.41 > Til: cmake@cmake.org; Lars > Emne: Re: [CMake] set_property imported_location_release > > Properties IMPORTED_LOCATION* do not support generator expressions. > > Generally speaking, if a

Re: [CMake] set_property imported_location_release

2018-12-21 Thread Lars
CHEVRIER Sendt: fredag 21. desember 2018 13.41 Til: cmake@cmake.org; Lars Emne: Re: [CMake] set_property imported_location_release Properties IMPORTED_LOCATION* do not support generator expressions. Generally speaking, if a property supports generator expression, it is explicitly specified

Re: [CMake] set_property imported_location_release

2018-12-21 Thread Marc CHEVRIER
Properties IMPORTED_LOCATION* do not support generator expressions. Generally speaking, if a property supports generator expression, it is explicitly specified in documentation. Le 21 déc. 2018 à 13:07 +0100, Lars , a écrit : > Hello, > > Trying to import an external library but having some

[CMake] set_property imported_location_release

2018-12-21 Thread Lars
Hello, Trying to import an external library but having some issue with setting imported_location_release property. Basically I have config file which does this; add_library(foo STATIC IMPORTED) set_property(target foo APPEND PROPERTY interface_include_directories "$" "$")