cmakelist.patch 700 B

12345678910111213141516171819202122
  1. --- CMakeLists.txt 2022-08-23 14:57:53.000000000 +0530
  2. +++ cmakelistn.txt 2023-02-06 18:26:55.129000000 +0530
  3. @@ -1,9 +1,9 @@
  4. -cmake_minimum_required(VERSION 2.8)
  5. +cmake_minimum_required(VERSION 3.10)
  6. project(uavs3e)
  7. aux_source_directory(./test DIR_SRC_TEST)
  8. -set_source_files_properties(${DIR_SRC_TEST} PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -std=c99 -O3")
  9. +set_source_files_properties(${DIR_SRC_TEST} PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -std=c99 -O2")
  10. add_subdirectory(./src)
  11. include_directories("./inc")
  12. @@ -20,5 +20,4 @@
  13. target_link_libraries(uavs3enc m)
  14. target_link_libraries(uavs3enc uavs3e)
  15. -#target_link_libraries(uavs3enc dl)
  16. -
  17. +target_link_libraries(uavs3enc dl)