Skip to content

Commit 3d149e1

Browse files
author
Veronica Zheng
committed
Merge pull request #875 from leapmotion/rem-embedflag
Remove `AUTOWIRING_IS_EMBEDDED`
2 parents 2d96579 + 68579a9 commit 3d149e1

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

src/autowiring/CMakeLists.txt

+6-11
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,6 @@ target_include_directories(
285285
"$<INSTALL_INTERFACE:include>"
286286
)
287287

288-
# Install public header files
289-
install_headers(TARGET Autowiring DESTINATION include/autowiring COMPONENT autowiring)
290-
291288
# Need multithreading services if available
292289
find_package(Threads)
293290
if(Threads_FOUND)
@@ -299,11 +296,9 @@ endif()
299296
#
300297
# Install library
301298
#
302-
303-
if(NOT AUTOWIRING_IS_EMBEDDED)
304-
install(TARGETS Autowiring EXPORT AutowiringTargets
305-
DESTINATION lib
306-
COMPONENT autowiring
307-
CONFIGURATIONS ${CMAKE_CONFIGURATION_TYPES}
308-
)
309-
endif()
299+
install(TARGETS Autowiring EXPORT AutowiringTargets
300+
DESTINATION lib
301+
COMPONENT autowiring
302+
CONFIGURATIONS ${CMAKE_CONFIGURATION_TYPES}
303+
)
304+
install_headers(TARGET Autowiring DESTINATION include/autowiring COMPONENT autowiring)

0 commit comments

Comments
 (0)