Skip to content
Snippets Groups Projects
Commit 44e49cc5 authored by Yen-Chen Chen's avatar Yen-Chen Chen
Browse files

Update FortUTF version again

parent 09ce406d
No related branches found
No related tags found
1 merge request!48Update FortUTF version
Pipeline #52064 passed
......@@ -4,16 +4,10 @@ if ("${CMAKE_VERSION}" VERSION_GREATER_EQUAL "3.24")
endif()
include(FetchContent)
FetchContent_Declare(fortutf
URL https://github.com/artemis-beta/FortUTF/archive/9f3b04b378cf60d21fcfcc8f90629d4bef3a9459.tar.gz
URL_HASH MD5=e89942aa37f41d159097900809b12cf2
URL https://github.com/artemis-beta/FortUTF/archive/1f005b01c9c87b837c318a24214a0ded28678a84.tar.gz
URL_HASH MD5=bf41b39b3afaa497c48a8edf965cce14
)
# We do not need libFortUTF and want to avoid the redundant building of the
# library. Therefore, we do not call FetchContent_MakeAvailable(fortutf), which
# adds ${fortutf_SOURCE_DIR} as a subdirectory:
FetchContent_GetProperties(fortutf)
if(NOT fortutf_POPULATED)
FetchContent_Populate(fortutf)
endif()
FetchContent_MakeAvailable(fortutf)
message(CHECK_PASS "done")
set(FORTUTF_PROJECT_TEST_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
......@@ -28,3 +22,4 @@ string(REPLACE "-" "_" PROJECT_NAME ${PROJECT_NAME})
FortUTF_Find_Tests()
set(PROJECT_NAME ${project_name})
add_test(NAME FortUTF_UnitTest COMMAND fortran_support_Tests)
set_property(TEST FortUTF_UnitTest PROPERTY LABELS Fortran)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment