On Fri, Oct 21, 2011 at 12:28:27PM +0300, Black Jack wrote:
> I hope you didn't just put FindHiredis.cmake into
> /usr/share/cmake/hiredis/hiredis-config.cmake because it will not
> work.

The renamed FindHiredis.cmake config works fine if I do e.g.:

    project("test" C)
    cmake_minimum_required(VERSION 2.6)

    find_package(hiredis)
    set(LIBS ${HIREDIS_LIBRARIES})
    link_libraries(${LIBS})

    set(INCLUDE_PATHS ${HIREDIS_INCLUDE_DIR})
    include_directories(${INCLUDE_PATHS})

    add_executable(test main.c)

(the file compiles, and the binary gets linked to the library)

What's wrong with that?

Cheers

-- 
perl -E'$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to