diff options
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}") |