You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
387B

  1. cmake_minimum_required(VERSION 2.8)
  2. project(gblur)
  3. find_package(JPEG REQUIRED)
  4. set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wpedantic -std=c11 -lm")
  5. set(SOURCE_FILES
  6. main.c)
  7. include_directories(gaussian_blur)
  8. add_executable(gblur ${SOURCE_FILES})
  9. add_subdirectory(gaussian_blur)
  10. set_property(TARGET gblur PROPERTY CXX_STANDARD 11)
  11. target_link_libraries(gblur gaussian_blur)