intel-ipmi-oem: Update with new ipmid/api.h path
The non-Yocto build is failing after the changes to the
ipmid-api.h path, so this change updates to the new
ipmid/api.h path.
Tested: Built with and without Yocto and confirmed both
complete successfully.
Change-Id: If00684c5ca65d99879f6d606709c82d80044af95
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
diff --git a/CMakeLists.txt.in b/CMakeLists.txt.in
index 1213120..811ad43 100644
--- a/CMakeLists.txt.in
+++ b/CMakeLists.txt.in
@@ -87,15 +87,9 @@
${CMAKE_BINARY_DIR}/phosphor-ipmi-host BINARY_DIR
${CMAKE_BINARY_DIR}/phosphor-host-ipmid-build CONFIGURE_COMMAND ""
BUILD_COMMAND "" INSTALL_COMMAND mkdir -p
- "${CMAKE_BINARY_DIR}/prefix/include/host-ipmid" && cp
- ${CMAKE_BINARY_DIR}/phosphor-ipmi-host/host-ipmid/ipmid-api.h
- ${CMAKE_BINARY_DIR}/prefix/include/host-ipmid && cp
- ${CMAKE_BINARY_DIR}/phosphor-ipmi-host/elog-errors.hpp
- ${CMAKE_BINARY_DIR}/prefix/include/host-ipmid && cp
- ${CMAKE_BINARY_DIR}/phosphor-ipmi-host/utils.hpp
- ${CMAKE_BINARY_DIR}/prefix/include/host-ipmid && cp
- ${CMAKE_BINARY_DIR}/phosphor-ipmi-host/types.hpp
- ${CMAKE_BINARY_DIR}/prefix/include/host-ipmid LOG_DOWNLOAD ON
+ "${CMAKE_BINARY_DIR}/prefix/include/ipmid" && cp
+ ${CMAKE_BINARY_DIR}/phosphor-ipmi-host/include/ipmid/api.h
+ ${CMAKE_BINARY_DIR}/prefix/include/ipmid LOG_DOWNLOAD ON
)
externalproject_add (