diff options
author | Thomas White <taw@physics.org> | 2020-02-26 14:20:04 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:42:24 +0200 |
commit | cb47e755858296d59f4ceb373bcd20b045004f56 (patch) | |
tree | 5526da31f373c3e1323dbae80f12caa13b9e38e8 /libcrystfel/CMakeLists.txt | |
parent | ca3b3162f037506ae224e0f8bb7c6f669a43d1b1 (diff) |
Move colour scale and pixbuf rendering to libcrystfel
Also, split into two files (colscale and render), and remove TIFF stuff.
Diffstat (limited to 'libcrystfel/CMakeLists.txt')
-rw-r--r-- | libcrystfel/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libcrystfel/CMakeLists.txt b/libcrystfel/CMakeLists.txt index 15d4ba19..1e30bf81 100644 --- a/libcrystfel/CMakeLists.txt +++ b/libcrystfel/CMakeLists.txt @@ -76,6 +76,7 @@ set(LIBCRYSTFEL_SOURCES src/rational.c src/spectrum.c src/datatemplate.c + src/colscale.c ${BISON_symopp_OUTPUTS} ${FLEX_symopl_OUTPUTS} ) @@ -119,6 +120,7 @@ set(LIBCRYSTFEL_HEADERS src/rational.h src/spectrum.h src/datatemplate.h + src/colscale.h ) if (DOXYGEN_FOUND) @@ -177,6 +179,11 @@ if (CURSES_FOUND) target_link_libraries(${PROJECT_NAME} PRIVATE ${CURSES_LIBRARIES}) endif (CURSES_FOUND) +if (GDKPIXBUF_FOUND) + target_include_directories(${PROJECT_NAME} PRIVATE ${GDKPIXBUF_INCLUDE_DIRS}) + target_link_libraries(${PROJECT_NAME} PRIVATE ${GDKPIXBUF_LIBRARIES}) +endif (GDKPIXBUF_FOUND) + target_compile_options(${PROJECT_NAME} PRIVATE -Wall) set_target_properties(${PROJECT_NAME} PROPERTIES PUBLIC_HEADER "${LIBCRYSTFEL_HEADERS}") |