diff --git a/libraries/libfc/secp256k1/CMakeLists.txt b/libraries/libfc/secp256k1/CMakeLists.txt index 247722e2b1..1469032e03 100644 --- a/libraries/libfc/secp256k1/CMakeLists.txt +++ b/libraries/libfc/secp256k1/CMakeLists.txt @@ -29,9 +29,9 @@ target_include_directories(secp256k1 target_link_libraries(secp256k1 PRIVATE secp256k1-internal) install( TARGETS secp256k1 - RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} ${INSTALL_COMPONENT_ARGS} - LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR} ${INSTALL_COMPONENT_ARGS} - ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR} ${INSTALL_COMPONENT_ARGS} + RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT dev EXCLUDE_FROM_ALL + LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR} COMPONENT dev EXCLUDE_FROM_ALL + ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR} COMPONENT dev EXCLUDE_FROM_ALL ) add_executable(secp256k1-bench secp256k1/src/bench.c)