*/}}

CMakeLists.txt 510 B

1234567891011121314151617181920212223242526
  1. cmake_minimum_required(VERSION 3.1)
  2. project(OurPaint)
  3. set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR})
  4. find_package(lagui REQUIRED)
  5. find_package(PNG REQUIRED)
  6. find_package(LCMS2 REQUIRED)
  7. add_definitions(-w)
  8. include_directories(
  9. ${LAGUI_INCLUDE_DIRS_ALL}
  10. )
  11. file(GLOB_RECURSE OurPaintFiles
  12. ourpaint.c ouroperations.c ournodes.c
  13. )
  14. add_executable(OurPaint ${OurPaintFiles})
  15. target_link_libraries(OurPaint
  16. ${LAGUI_SHARED_LIBS}
  17. ${PNG_LIBRARY}
  18. ${LCMS2_LIBRARIES}
  19. )