-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e32671
commit 46c5ad9
Showing
2 changed files
with
5 additions
and
18 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
11 changes: 4 additions & 7 deletions
11
crypto3/cmake/Config.cmake.in → crypto3/cmake/crypto3Config.cmake
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 |
---|---|---|
@@ -1,16 +1,13 @@ | ||
@PACKAGE_INIT@ | ||
|
||
include(CMakeFindDependencyMacro) | ||
find_dependency(Boost COMPONENTS REQUIRED | ||
container json filesystem log log_setup program_options thread system unit_test_framework) | ||
|
||
# Protect against multiple inclusion | ||
if (TARGET crypto3::all) | ||
return() | ||
endif() | ||
|
||
include(CMakeFindDependencyMacro) | ||
find_dependency(Boost COMPONENTS REQUIRED | ||
container json filesystem log log_setup program_options thread system unit_test_framework) | ||
|
||
add_library(crypto3::all INTERFACE IMPORTED) | ||
|
||
set_target_properties(crypto3::all PROPERTIES | ||
INTERFACE_INCLUDE_DIRECTORIES "@CMAKE_INSTALL_FULL_INCLUDEDIR@" | ||
INTERFACE_LINK_LIBRARIES ${Boost_LIBRARIES}) |