Skip to content

Commit

Permalink
Don't install randomx.h
Browse files Browse the repository at this point in the history
This breaks for some reason under focal, but also we don't want this
header for oxen-core as it is used purely internally.
  • Loading branch information
jagerman committed Sep 27, 2024
1 parent 9084ac9 commit e2de049
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -221,13 +221,11 @@ endif()
set_property(TARGET randomx PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET randomx PROPERTY CXX_STANDARD 11)
set_property(TARGET randomx PROPERTY CXX_STANDARD_REQUIRED ON)
set_property(TARGET randomx PROPERTY PUBLIC_HEADER src/randomx.h)

include(GNUInstallDirs)
install(TARGETS randomx
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})

add_executable(randomx-tests
src/tests/tests.cpp)
Expand Down

0 comments on commit e2de049

Please sign in to comment.