[LLVMdev] CMake "sudo make install" & headers

Pau Garcia i Quiles pgquiles at elpauer.org
Fri Oct 1 07:13:38 PDT 2010


On Thu, Sep 30, 2010 at 3:08 PM, Samuel Williams
<space.ship.traveller at gmail.com> wrote:
> Hi,
>
> I might just be doing something stupid, but when I do
>
> $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/llvm-2.8 -DCMAKE_BUILD_TYPE=Release ..
> $ sudo make install
>
> I don't get the expected headers in
>        /usr/local/llvm-2.8/include/llvm
>
> It is simply an empty directory.
>
> What am I doing wrong? This is on Mac OS X, CMake 2.8+

What version or CMake are you using exactly? Did you build it, or did
you download the binary from cmake.org? What version of Mac OS X?
(including patch level)

Also, could you please try to replace

install(DIRECTORY include/
 DESTINATION include

with

install(DIRECTORY include
 DESTINATION include

? (no slash after 'include')

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)




More information about the llvm-dev mailing list