arcolight commented on code in PR #7300:
URL: https://github.com/apache/ignite-3/pull/7300#discussion_r2694939954
##########
modules/platforms/cpp/CMakeLists.txt:
##########
@@ -191,3 +195,34 @@ if (CLANG_FORMAT_BIN)
else()
message(STATUS "Failed to find clang-format. So there is no 'format'
target now.")
endif()
+
+if (${INSTALL_IGNITE_FILES})
+ if (${ENABLE_CLIENT})
+ list(APPEND IGNITE_AVAILABLE_COMPONENTS client)
+ endif()
+ if (${ENABLE_ODBC})
+ list(APPEND IGNITE_AVAILABLE_COMPONENTS odbc)
+ endif()
+
+ include(CMakePackageConfigHelpers)
+ configure_package_config_file(
+ ${IGNITE_CMAKE_TOP_DIR}/cmake/ignite-config.cmake.in
+ ${CMAKE_CURRENT_BINARY_DIR}/cmake/ignite-config.cmake
+ INSTALL_DESTINATION ${CMAKE_INSTALL_PREFIX}
+ PATH_VARS IGNITE_INCLUDEDIR
+ )
+
+ add_subdirectory(pkgconfig)
+
+ set(IGNITE_INSTALL_CMAKEDIR ${CMAKE_INSTALL_LIBDIR}/cmake)
+
Review Comment:
It should not be even `${IGNITE_INSTALL_CMAKEDIR}`, it should be relative to
the isntall path. Fixed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]