Skip to content

Commit e6cf9b6

Browse files
committed
Add cmake folder and files
1 parent a749b90 commit e6cf9b6

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

cmake/boost_int128.pc.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
prefix=@CMAKE_INSTALL_PREFIX@
2+
exec_prefix=${prefix}
3+
libdir=${exec_prefix}/lib
4+
includedir=${prefix}/include
5+
6+
Name: boost_int128
7+
Description: Portable and performant 128-bit numbers
8+
Version: @PROJECT_VERSION@
9+
Cflags: -I${includedir}
10+
Libs:

cmake/boost_int128Config.cmake.in

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright 2023 - 2025 Matt Borland
2+
# Distributed under the Boost Software License, Version 1.0.
3+
# https://www.boost.org/LICENSE_1_0.txt
4+
5+
@PACKAGE_INIT@
6+
7+
include("${CMAKE_CURRENT_LIST_DIR}/boost_int128Targets.cmake")
8+
9+
# Recreate the alias for the imported target
10+
if(NOT TARGET Boost::int128 AND TARGET Boost::boost_int128)
11+
add_library(Boost::int128 ALIAS Boost::boost_int128)
12+
endif()
13+
14+
check_required_components(boost_int128)
15+
16+
set(boost_int128_FOUND TRUE)

0 commit comments

Comments
 (0)