Removed HAVE_CONFIG_H
[amule.git] / src / utils / cas / CMakeLists.txt
blob34c3f7da098f9888af94479a3aae48cd6173804c
1 add_subdirectory (docs)
3 add_executable (cas
4         cas.c
5         configfile.c
6         functions.c
7         graphics.c
8         html.c
9         lines.c
12 if (WIN32)
13         target_sources (cas
14                 ${CMAKE_SOURCE_DIR}/version.rc
15         )
16 endif()
18 target_compile_definitions (cas
19                 PRIVATE ${gdlib_CFLAGS}
22 target_include_directories (cas
23         PRIVATE ${CMAKE_BINARY_DIR}
26 target_link_libraries (cas
27         ${gdlib_LIBRARIES}
28         ${gdlib_LD_FLAGS}
31 install (TARGETS cas
32         RUNTIME DESTINATION bin
36 install (FILES tmp.html stat.png
37         DESTINATION "${CMAKE_INSTALL_DATADIR}/cas"