Initial commit
This commit is contained in:
10
external/CMakeLists.txt
vendored
Normal file
10
external/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
set(CMAKE_FOLDER external)
|
||||
list(APPEND CMAKE_MESSAGE_CONTEXT external)
|
||||
|
||||
if (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
|
||||
message(FATAL_ERROR "In-source build is not supported!")
|
||||
endif()
|
||||
|
||||
include(FetchContent)
|
||||
|
||||
add_subdirectory(openDAQ)
|
||||
12
external/openDAQ/CMakeLists.txt
vendored
Normal file
12
external/openDAQ/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
set(OPENDAQ_ENABLE_TESTS false)
|
||||
|
||||
FetchContent_Declare(
|
||||
openDAQ
|
||||
GIT_REPOSITORY https://github.com/openDAQ/openDAQ.git
|
||||
GIT_TAG origin/main
|
||||
GIT_PROGRESS ON
|
||||
SYSTEM
|
||||
FIND_PACKAGE_ARGS 3.11.0 GLOBAL
|
||||
)
|
||||
|
||||
FetchContent_MakeAvailable(openDAQ)
|
||||
Reference in New Issue
Block a user