mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-17 09:57:02 +00:00
Fix installation of cmake files
When binaries, libs and development files like include or cmake files are installed to different target directories then those where before relatively installed to the binary and not in the correct directory where other development related files where installed. Tested inside of nixpkgs with zxing using the system library of zint.
This commit is contained in:
@@ -201,4 +201,4 @@ if(ZINT_UNINSTALL)
|
||||
endif()
|
||||
|
||||
configure_file("zint-config.cmake.in" "zint-config.cmake" @ONLY)
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/zint-config.cmake" DESTINATION "${CMAKE_INSTALL_DATADIR}/zint")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/zint-config.cmake" DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/zint")
|
||||
|
||||
Reference in New Issue
Block a user