Skip to content

Commit

Permalink
Required FileParse version flag added for tracing by CMake in parent …
Browse files Browse the repository at this point in the history
…components.
  • Loading branch information
vidanovic committed Oct 25, 2024
1 parent 40efe42 commit 4686913
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists-xmlParser.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
cmake_minimum_required(VERSION 3.11)

set(FILEPARSE_REQUIRED_XMLPARSER_VERSION "v1.0.1" CACHE INTERNAL "Required xmlParser version for FileParse")

if(NOT TARGET xmlParser)

include(FetchContent)

FetchContent_Declare(
XMLParser
GIT_REPOSITORY https://github.com/LBNL-ETA/XMLParser.git
GIT_TAG v1.0.1
GIT_TAG ${FILEPARSE_REQUIRED_XMLPARSER_VERSION}
)

FetchContent_MakeAvailable(XMLParser)
Expand Down

0 comments on commit 4686913

Please sign in to comment.