You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message( FATAL_ERROR"unable to determine SYSTEC USB-CANmodule Utility Disk headers and library paths from environment variables SYSTEC_PATH_HEADERS [$ENV{SYSTEC_PATH_HEADERS}] SYSTEC_PATH_LIBS [$ENV{SYSTEC_PATH_LIBS}]")
1
+
include(FetchContent)
2
+
3
+
if(NOTDEFINED SYSTEC_LIBRARY)
4
+
message(FATAL_ERROR"Could not find systec library locally")
5
+
# set(SYTEC_LIBRARY "TODO zip path goes here")
6
+
endif()
7
+
8
+
set(SYSTEC_FETCHCONTENT_ARGS
9
+
URL "${SYSTEC_LIBRARY}"
10
+
DOWNLOAD_EXTRACT_TIMESTAMP True
11
+
)
12
+
13
+
if(EXISTS"${SYSTEC_LIBRARY}")
14
+
message(STATUS"Using local Systec archive: ${SYSTEC_LIBRARY}")
0 commit comments