CMakeLists.txt 467 B

12345678910111213141516
  1. # Don't re-use SRC_LIST, because it has a special meaning within the test folder,
  2. # with some dynamic aggregation of unit-testing going on.
  3. aux_source_directory(. LOCAL_SRC_LIST)
  4. include_directories(../..)
  5. file(GLOB HEADERS "*.h")
  6. add_library(testutils ${LOCAL_SRC_LIST} ${HEADERS})
  7. find_package(Eth)
  8. target_link_libraries(testutils ${Eth_ETHASHSEAL_LIBRARIES})
  9. install(TARGETS testutils RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib)