install: change in PUBLIC_HEADER handling between 3.13.5 and 3.14.0
Hi, Using this cmake file https://github.com/sonoro1234/LuaJIT-libsndfile/blob/0b03b48ff76615d2f9f6dab7491c76679f511a88/CMakeLists.txt
I am geting this error (not happening in 3.13.5)
[100%] Built target sndfile_ffi
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: c:/anima2/sndfile.dll
CMake Error at cmake_install.cmake:54 (file):
file cannot create directory: C:/Program Files
(x86)/libsndfile_ffi/include. Maybe need administrative privileges.
previously (with v3.13.5) it was:
[100%] Built target sndfile_ffi
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: c:/anima2/sndfile.dll
-- Installing: c:/anima2/samplerate.dll
-- Installing: c:/anima2/lua/sndfile_ffi.lua
-- Installing: c:/anima2/lua/samplerate.lua
Thanks