summaryrefslogtreecommitdiffstats
path: root/kernel/kls_ljpeg/ljpeg2ppm
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kls_ljpeg/ljpeg2ppm')
-rw-r--r--kernel/kls_ljpeg/ljpeg2ppm/CMakeLists.txt14
-rw-r--r--kernel/kls_ljpeg/ljpeg2ppm/Makefile.am2
2 files changed, 15 insertions, 1 deletions
diff --git a/kernel/kls_ljpeg/ljpeg2ppm/CMakeLists.txt b/kernel/kls_ljpeg/ljpeg2ppm/CMakeLists.txt
new file mode 100644
index 0000000..b73f5af
--- /dev/null
+++ b/kernel/kls_ljpeg/ljpeg2ppm/CMakeLists.txt
@@ -0,0 +1,14 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kernel/include
+ ${CMAKE_BINARY_DIR}
+)
+
+
+##### executable
+
+file( GLOB _bin_c_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.c )
+tde_add_executable( ksquirrel-libs-ljpeg2ppm
+ SOURCES ${_bin_c_files}
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kernel/kls_ljpeg/ljpeg2ppm/Makefile.am b/kernel/kls_ljpeg/ljpeg2ppm/Makefile.am
index 8d9632e..a341d06 100644
--- a/kernel/kls_ljpeg/ljpeg2ppm/Makefile.am
+++ b/kernel/kls_ljpeg/ljpeg2ppm/Makefile.am
@@ -1,4 +1,4 @@
-#INCLUDES = -I../include
+INCLUDES = -I../include $(all_includes)
bin_PROGRAMS = ksquirrel-libs-ljpeg2ppm