-
Notifications
You must be signed in to change notification settings - Fork 11
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
Showing
3 changed files
with
19 additions
and
19 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
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,27 +1,27 @@ | ||
include(FetchContent) | ||
#include(FetchContent) | ||
find_package(spdlog QUIET) | ||
if (spdlog_FOUND) | ||
message(STATUS "Found spdlog on system") | ||
else() | ||
message(STATUS "Fetching spdlog") | ||
FetchContent_Declare( | ||
spdlog | ||
GIT_REPOSITORY https://github.com/gabime/spdlog.git | ||
GIT_SHALLOW TRUE | ||
GIT_TAG v1.x | ||
) | ||
# message(STATUS "Fetching spdlog") | ||
# FetchContent_Declare( | ||
# spdlog | ||
# GIT_REPOSITORY https://github.com/gabime/spdlog.git | ||
# GIT_SHALLOW TRUE | ||
# GIT_TAG v1.x | ||
# ) | ||
set(SPDLOG_BUILD_SHARED ON) | ||
FetchContent_MakeAvailable(spdlog) | ||
# FetchContent_MakeAvailable(spdlog) | ||
endif() | ||
find_package(FreeOpcUa QUIET) | ||
if (FreeOpcUa_FOUND) | ||
message(STATUS "Found FreeOpcUa on system") | ||
else() | ||
message(STATUS "Fetching freeopcua") | ||
FetchContent_Declare( | ||
FreeOpcUa | ||
GIT_REPOSITORY https://github.com/FreeOpcUa/freeopcua.git | ||
GIT_SHALLOW TRUE | ||
) | ||
FetchContent_MakeAvailable(FreeOpcUa) | ||
# message(STATUS "Fetching freeopcua") | ||
# FetchContent_Declare( | ||
# FreeOpcUa | ||
# GIT_REPOSITORY https://github.com/FreeOpcUa/freeopcua.git | ||
# GIT_SHALLOW TRUE | ||
# ) | ||
# FetchContent_MakeAvailable(FreeOpcUa) | ||
endif() |