CMakeLists.txt 395 B

123456789101112
  1. cmake_minimum_required(VERSION 3.0.0)
  2. project(updator VERSION 0.1.0)
  3. #set(CMAKE_CXX_FLAGS "-D_USE_UTF8")
  4. FILE(GLOB LIVEHELPERSOURCE *.c *.cpp)
  5. add_executable(${PROJECT_NAME} ${LIVEHELPERSOURCE})
  6. target_link_libraries(${PROJECT_NAME} curl)
  7. target_link_libraries(${PROJECT_NAME} libjsoncpp.so)
  8. set(CPACK_PROJECT_NAME ${PROJECT_NAME})
  9. set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})