forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: bump pybind, stop using FindPkgConfig for Catch2 (dashpay#41)
* depends: move amalgamated catch2 to match include structure * build: don't attempt detection of local catch2, use vendor copy * build: fix VS2022 compilation by bumping pybind11 to 2.9.1
- Loading branch information
Showing
5 changed files
with
41 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
CMAKE_MINIMUM_REQUIRED(VERSION 3.14.0 FATAL_ERROR) | ||
|
||
set(PROJECT_NAME "catch2") | ||
|
||
project( | ||
${PROJECT_NAME} | ||
VERSION 2.13 | ||
LANGUAGES CXX | ||
) | ||
|
||
|
||
set( | ||
${PROJECT_NAME}_HEADERS | ||
catch2/catch.hpp | ||
) | ||
|
||
list( | ||
TRANSFORM ${PROJECT_NAME}_HEADERS | ||
PREPEND "${CMAKE_CURRENT_LIST_DIR}/include/" | ||
) | ||
|
||
add_library( | ||
${PROJECT_NAME} | ||
INTERFACE | ||
"${${PROJECT_NAME}_HEADERS}" | ||
) | ||
|
||
target_include_directories( | ||
${PROJECT_NAME} | ||
INTERFACE | ||
"$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>" | ||
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>" | ||
) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters