diff --git a/.idea/vcs.xml b/.idea/vcs.xml index f9e8820ca83979a0fa3891e7e7bfdac8c44d5784..2ca3eb157ebcc418fffa44486efb449d25233d8b 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -3,5 +3,6 @@ <component name="VcsDirectoryMappings"> <mapping directory="" vcs="Git" /> <mapping directory="$PROJECT_DIR$/cmake-build-debug/_deps/inmcm60_sfx-src" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/cmake-build-debug/_deps/sfxlib-src" vcs="Git" /> </component> </project> \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 97ca5e579ca53bed197ab0cd52de32ea059bad86..834614904f4afb80a8e82a2e40e6d69803d75d64 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,16 +76,12 @@ if (WITH_TESTS) # adding sfx and config-parser stuff #fetch sfx model FetchContent_Declare( - inmcm60_sfx + sfxlib GIT_REPOSITORY http://tesla.parallel.ru/inmcm-mirror/sfx.git GIT_TAG origin/main) - FetchContent_MakeAvailable(inmcm60_sfx) - FetchContent_GetProperties(inmcm60_sfx) + FetchContent_MakeAvailable(sfxlib) + FetchContent_GetProperties(sfxlib) - if(NOT inmcm60_sfx_POPULATED) - FetchContent_Populate(sfx_lib) - add_subdirectory(${inmcm60_sfx_SOURCE_DIR} ${inmcm60_sfx_BINARY_DIR} EXCLUDE_FROM_ALL) - endif() #Config parser from sfx_lib is needed if (WITH_RRTMG)