-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update vendor/foxy to use custom certify
- Loading branch information
1 parent
a9bfe15
commit 201e989
Showing
2 changed files
with
42 additions
and
2 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
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,27 @@ | ||
cmake_minimum_required(VERSION 3.11) | ||
|
||
include(FetchContent) | ||
|
||
if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.24") | ||
# Affects robustness of timestamp checking on FetchContent dependencies. | ||
cmake_policy(SET CMP0135 NEW) | ||
endif () | ||
|
||
|
||
FetchContent_Declare(certify | ||
GIT_REPOSITORY https://github.com/cwaldren-ld/certify.git | ||
GIT_TAG 8fc3024f97ffcc7442e30e1fe6ddff54b45e35d6 | ||
) | ||
|
||
# The tests in certify don't compile. | ||
set(PREVIOUS_BUILD_TESTING ${BUILD_TESTING}) | ||
set(BUILD_TESTING OFF) | ||
|
||
FetchContent_MakeAvailable(certify) | ||
|
||
set(BUILD_TESTING ${PREVIOUS_BUILD_TESTING}) | ||
|
||
install( | ||
TARGETS core | ||
EXPORT ${PROJECT_NAME}Targets | ||
) |