Fix out of source installation with tinyxml2.pc

This commit is contained in:
Chow Loong Jin 2012-05-24 02:44:19 +08:00
parent abcdbd9112
commit 0eb8e9da08
1 changed files with 1 additions and 1 deletions

View File

@ -80,6 +80,6 @@ foreach(p LIB INCLUDE)
endforeach()
configure_file(tinyxml2.pc.in tinyxml2.pc @ONLY)
install(FILES tinyxml2.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tinyxml2.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
#add_test(test ${SAMPLE_NAME} COMMAND $<TARGET_FILE:${SAMPLE_NAME}>)