|
@@ -3,7 +3,8 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake") |
|
|
|
|
|
|
|
|
project (aptdec) |
|
|
project (aptdec) |
|
|
|
|
|
|
|
|
add_executable(aptdec main.c color.c dsp.c filter.c image.c median.c pngio.c reg.c) |
|
|
|
|
|
|
|
|
file(GLOB_RECURSE C_SOURCE_FILES src/*.c) |
|
|
|
|
|
add_executable(aptdec ${C_SOURCE_FILES}) |
|
|
|
|
|
|
|
|
# Math |
|
|
# Math |
|
|
target_link_libraries(aptdec PRIVATE m) |
|
|
target_link_libraries(aptdec PRIVATE m) |
|
@@ -18,4 +19,4 @@ target_link_libraries(aptdec PRIVATE PNG::PNG) |
|
|
|
|
|
|
|
|
# SndFile |
|
|
# SndFile |
|
|
find_package(LibSndFile REQUIRED) |
|
|
find_package(LibSndFile REQUIRED) |
|
|
target_link_libraries(aptdec PRIVATE ${LIBSNDFILE_LIBRARY}) |
|
|
|
|
|
|
|
|
target_link_libraries(aptdec PRIVATE ${LIBSNDFILE_LIBRARY}) |