Commit c40139fb authored by Chris Mueller's avatar Chris Mueller

Set proper paths for installing the headers. Use relative paths in the library.

parent e920d87f
......@@ -17,6 +17,7 @@ set(HEADER
add_library(${TARGET_NAME} SHARED ${SOURCES})
install(DIRECTORY . DESTINATION include/${TARGET_NAME} FILES_MATCHING PATTERN "*.h")
#install(FILES ${HEADER} DESTINATION include/${TARGET_NAME})
install(FILES ${HEADER} DESTINATION include/${TARGET_NAME})
install(TARGETS ${TARGET_NAME} ARCHIVE DESTINATION lib LIBRARY DESTINATION lib)
......@@ -17,7 +17,7 @@
*/
#include "list.h"
#include "standard.h"
#include "../standard.h"
#include <assert.h>
struct Node {
......
......@@ -19,7 +19,7 @@
#ifndef CRYSTAL_STRUCTURES_H
#define CRYSTAL_STRUCTURES_H
#include <standard.h>
#include "../standard.h"
typedef void (*cry_free_funptr)(pointer data);
typedef int (*cry_predicate_funptr)(pointer element, pointer context);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment