Skip to content

Commit

Permalink
Fix installation of libgit2.pc file
Browse files Browse the repository at this point in the history
configure_file outputs by default to binary dir,
and install(files) search from source dir.
  • Loading branch information
belkiss committed Aug 9, 2011
1 parent f6867e6 commit 71e08b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -111,7 +111,7 @@ INSTALL(TARGETS git2
LIBRARY DESTINATION ${INSTALL_LIB}
ARCHIVE DESTINATION ${INSTALL_LIB}
)
INSTALL(FILES libgit2.pc DESTINATION ${INSTALL_LIB}/pkgconfig )
INSTALL(FILES ${CMAKE_BINARY_DIR}/libgit2.pc DESTINATION ${INSTALL_LIB}/pkgconfig )
INSTALL(DIRECTORY include/git2 DESTINATION ${INSTALL_INC} )
INSTALL(FILES include/git2.h DESTINATION ${INSTALL_INC} )

Expand Down

0 comments on commit 71e08b3

Please sign in to comment.