mirror of https://github.com/AxioDL/tinyxml2.git
Fix out of source installation with tinyxml2.pc
This commit is contained in:
parent
abcdbd9112
commit
0eb8e9da08
|
@ -80,6 +80,6 @@ foreach(p LIB INCLUDE)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
configure_file(tinyxml2.pc.in tinyxml2.pc @ONLY)
|
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}>)
|
#add_test(test ${SAMPLE_NAME} COMMAND $<TARGET_FILE:${SAMPLE_NAME}>)
|
||||||
|
|
Loading…
Reference in New Issue