From f0c69d9e1de783c3bda18e3f472c45c8ec05ba23 Mon Sep 17 00:00:00 2001 From: Matt Witherspoon <32485495+spoonincode@users.noreply.github.com> Date: Thu, 1 Mar 2018 10:51:56 -0500 Subject: [PATCH] Don't install fc While technically fc is a standalone library, I don't consider eosio to be the distribution mechanism that one would obtain fc through. Plus, our fork of fc has some changes that may not be expected for general case users. Remove it from being installed --- libraries/fc/CMakeLists.txt | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/libraries/fc/CMakeLists.txt b/libraries/fc/CMakeLists.txt index 396318d92..0bf5934f2 100644 --- a/libraries/fc/CMakeLists.txt +++ b/libraries/fc/CMakeLists.txt @@ -119,14 +119,7 @@ set( sources #list(APPEND sources "${CMAKE_CURRENT_BINARY_DIR}/git_revision.cpp") list(APPEND sources ${fc_headers}) -setup_library( fc SOURCES ${sources} LIBRARY_TYPE STATIC ) - -INSTALL( TARGETS fc - RUNTIME DESTINATION bin - LIBRARY DESTINATION lib - ARCHIVE DESTINATION lib -) -INSTALL( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include DESTINATION . ) +setup_library( fc SOURCES ${sources} LIBRARY_TYPE STATIC DONT_INSTALL_LIBRARY ) IF(APPLE) # As of 10.10 yosemite, the OpenSSL static libraries shipped with os x have a dependency -- GitLab