[CMake] Setting properties from within a function

2016-04-11 Thread Michael Surette
I would like to use set target properties from within a function. ie function(MINE TGT DEF) target_compile_definitions("${TGT}" "${DEF}") endfunction(MINE TGT DEF) This doesn't work. If I change it to a macro, it does. macro(MINE TGT DEF) target_compile_definitions("${TGT}" "${DEF}") endm

Re: [CMake] CMake download blocked by Google Chrome

2016-04-11 Thread Bill Hoffman
On 4/10/2016 10:40 AM, Raymond Wan wrote: Google seems to have marked it as "partially dangerous". Of course, Google could be wrong -- I think this filter list is maintained automatically and maybe they got the criteria wrong this time. We are looking into this. We have had false positives in t

Re: [CMake] Firefox and chrome warnings when dowloading cmake windows installers

2016-04-11 Thread Nicholas Braden
Previously there was a discussion about only Chrome: http://public.kitware.com/pipermail/cmake/2016-April/063192.html Good to know Firefox is affected too. For now I don't think anyone actually knows whether the file in question is truly dangerous or not, so use at your own risk. From what I've re

[CMake] Firefox and chrome warnings when dowloading cmake windows installers

2016-04-11 Thread Michael Brandl
Hi,   when trying to download any of the windows-installers from the download-page (e.g. https://cmake.org/files/v3.4/cmake-3.4.3-win32-x86.exe), both firefox and chrome issue security warnings: Firefox: "Reported Unwanted Software Page! This web page at cmake.org has been reported to contain u