Skip to content

Commit

Permalink
Removing CMake local variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
vidanovic committed Oct 28, 2024
1 parent 854b452 commit 57a54d9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,20 @@ set(JSON_BuildTests OFF CACHE BOOL "")

include(FetchContent)

set(OPTICALMEASUREMENTPARSER_NLOHMANN_VERSION "db53bda")

FetchContent_Declare(
nlohmann_json
GIT_REPOSITORY https://github.com/nlohmann/json.git
GIT_TAG ${OPTICALMEASUREMENTPARSER_NLOHMANN_VERSION}
GIT_TAG "db53bda"
)
FetchContent_MakeAvailable(nlohmann_json)


set(BUILD_BSDFXMLParser_Tests OFF CACHE BOOL "Build BSDFXMLParser tests" FORCE)

set(OPTICALMEASUREMENTPARSER_BSDFXMLPARSER_VERSION "main")

FetchContent_Declare(
BSDFXMLParser
GIT_REPOSITORY https://github.com/LBNL-ETA/BSDFXMLParser.git
GIT_TAG ${OPTICALMEASUREMENTPARSER_BSDFXMLPARSER_VERSION}
GIT_TAG "main"
)

FetchContent_MakeAvailable(BSDFXMLParser)
Expand Down

0 comments on commit 57a54d9

Please sign in to comment.