mirror of
https://github.com/boostorg/nowide.git
synced 2026-02-15 01:02:17 +00:00
21 lines
569 B
CMake
21 lines
569 B
CMake
@PACKAGE_INIT@
|
|
|
|
set(_boost_nowide_superproject "@BOOST_SUPERPROJECT_SOURCE_DIR@")
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
if(_boost_nowide_superproject)
|
|
foreach(dep IN ITEMS boost_config boost_smart_ptr boost_static_assert)
|
|
find_dependency(${dep})
|
|
endforeach()
|
|
else()
|
|
# Default boost libs are static on windows and dynamic on linux
|
|
if(WIN32 AND "${Boost_USE_STATIC_LIBS}" STREQUAL "")
|
|
set(Boost_USE_STATIC_LIBS ON)
|
|
endif()
|
|
find_dependency(Boost 1.56)
|
|
endif()
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|
|
|
|
check_required_components("@PROJECT_NAME@")
|