From 68579a9bebf4f1d3f0a24e9df5ca0523ecf9d138 Mon Sep 17 00:00:00 2001 From: Jason Lokerson Date: Thu, 7 Apr 2016 20:44:35 -0700 Subject: [PATCH] Remove `AUTOWIRING_IS_EMBEDDED` This is a very very old legacy feature that is a relic from a time when autowiring was a subtree of platform. It no longer is and never will be again, we can remove it. --- src/autowiring/CMakeLists.txt | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/src/autowiring/CMakeLists.txt b/src/autowiring/CMakeLists.txt index e349234b2..4e09ad965 100644 --- a/src/autowiring/CMakeLists.txt +++ b/src/autowiring/CMakeLists.txt @@ -281,9 +281,6 @@ target_include_directories( "$" ) -# Install public header files -install_headers(TARGET Autowiring DESTINATION include/autowiring COMPONENT autowiring) - # Need multithreading services if available find_package(Threads) if(Threads_FOUND) @@ -295,11 +292,9 @@ endif() # # Install library # - -if(NOT AUTOWIRING_IS_EMBEDDED) - install(TARGETS Autowiring EXPORT AutowiringTargets - DESTINATION lib - COMPONENT autowiring - CONFIGURATIONS ${CMAKE_CONFIGURATION_TYPES} - ) -endif() +install(TARGETS Autowiring EXPORT AutowiringTargets + DESTINATION lib + COMPONENT autowiring + CONFIGURATIONS ${CMAKE_CONFIGURATION_TYPES} +) +install_headers(TARGET Autowiring DESTINATION include/autowiring COMPONENT autowiring)