commit 6c18317e5008b760d51a1be92492d6bdfb280c89
parent 76e8adc7725b81e18401abd1f31fd36ef1c63928
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 7 Jan 2016 11:45:18 +0100
Fix the install target in the CMake script
Install the API header and the documentation files
Diffstat:
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
@@ -98,6 +98,6 @@ install(TARGETS sstl
ARCHIVE DESTINATION bin
LIBRARY DESTINATION lib
RUNTIME DESTINATION bin)
-install(FILES ${AW_FILES_INC} DESTINATION include)
-install(FILES ${AW_FILES_DOC} DESTINATION doc/sstl)
+install(FILES ${SSTL_FILES_INC} DESTINATION include)
+install(FILES ${SSTL_FILES_DOC} DESTINATION doc/sstl)
diff --git a/src/sstl.c b/src/sstl.c
@@ -521,7 +521,7 @@ sstl_create
if(!sstl) {
if(verbose) {
logger_print(logger, LOG_ERROR,
- "Couldn't allocate the Star-Heat device.\n");
+ "Couldn't allocate the Star-STL device.\n");
}
res = RES_MEM_ERR;
goto error;
diff --git a/src/sstl.h b/src/sstl.h
@@ -41,7 +41,7 @@
#endif
/* Helper macro that asserts if the invocation of the sstl function `Func'
- * returns an error. One should use this macro on smc function calls for which
+ * returns an error. One should use this macro on sstl function calls for which
* no explicit error checking is performed. */
#ifndef NDEBUG
#define SSTL(Func) ASSERT(sstl_ ## Func == RES_OK)