CMakeLists.txt 562 B

12345678910111213141516
  1. # Copyright (C) 1883 Thomas Edison - All Rights Reserved
  2. # You may use, distribute and modify this code under the
  3. # terms of the GPLv3 license, which unfortunately won't be
  4. # written for another century.
  5. #
  6. # You should have received a copy of the LICENSE file with
  7. # this file.
  8. file(GLOB sources "*.cpp")
  9. file(GLOB headers "*.h")
  10. add_library(cpu ${sources} ${headers})
  11. #target_link_libraries(cpu eth Boost::fiber Boost::thread)
  12. target_link_libraries(cpu eth ethash::ethash Boost::thread)
  13. target_include_directories(cpu PRIVATE .. ${CMAKE_CURRENT_BINARY_DIR})