Commit 0e7ba0ee authored by Praetorius, Simon's avatar Praetorius, Simon

renamed directory external to libs

parent 8305b6f5
Pipeline #1844 passed with stage
in 31 minutes and 16 seconds
[submodule "externals/fmt"]
path = externals/fmt
[submodule "libs/fmt"]
path = libs/fmt
url = https://github.com/fmtlib/fmt.git
......@@ -17,10 +17,10 @@ dune_enable_all_packages(MODULE_LIBRARIES amdis fmt)
add_subdirectory("bin")
add_subdirectory("cmake/modules")
add_subdirectory("doc")
add_subdirectory("externals")
add_subdirectory("examples" EXCLUDE_FROM_ALL)
add_subdirectory("libs")
add_subdirectory("src")
add_subdirectory("test")
add_subdirectory("examples" EXCLUDE_FROM_ALL)
target_link_libraries(amdis fmt)
......
......@@ -12,7 +12,7 @@ if (GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git")
endif()
endif()
if (NOT EXISTS "${PROJECT_SOURCE_DIR}/externals/fmt/CMakeLists.txt")
if (NOT EXISTS "${PROJECT_SOURCE_DIR}/libs/fmt/CMakeLists.txt")
message(FATAL_ERROR "The submodules were not downloaded! GIT_SUBMODULE was turned off or failed. Please update submodules and try again.")
endif()
......@@ -23,7 +23,7 @@ dune_library_add_sources(fmt SOURCES
)
target_include_directories(fmt PUBLIC
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/externals/fmt/include>)
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/libs/fmt/include>)
install(FILES
fmt/include/fmt/core.h
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment