mirror of
https://github.com/boostorg/cmake.git
synced 2026-01-19 04:02:15 +00:00
Merge pull request #65 from Pansysk75/develop
Do export(...) to Boost targets
This commit is contained in:
@@ -301,6 +301,8 @@ function(boost_install_target)
|
||||
PUBLIC_HEADER DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
|
||||
)
|
||||
|
||||
export(TARGETS ${LIB} NAMESPACE Boost:: FILE export/${LIB}-targets.cmake)
|
||||
|
||||
if(MSVC)
|
||||
if(TYPE STREQUAL "SHARED_LIBRARY")
|
||||
install(FILES $<TARGET_PDB_FILE:${LIB}> DESTINATION ${CMAKE_INSTALL_BINDIR} OPTIONAL)
|
||||
|
||||
Reference in New Issue
Block a user