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

renamed directory external to libs

parent 8305b6f5
[submodule "externals/fmt"] [submodule "libs/fmt"]
path = externals/fmt path = libs/fmt
url = https://github.com/fmtlib/fmt.git url = https://github.com/fmtlib/fmt.git
...@@ -17,10 +17,10 @@ dune_enable_all_packages(MODULE_LIBRARIES amdis fmt) ...@@ -17,10 +17,10 @@ dune_enable_all_packages(MODULE_LIBRARIES amdis fmt)
add_subdirectory("bin") add_subdirectory("bin")
add_subdirectory("cmake/modules") add_subdirectory("cmake/modules")
add_subdirectory("doc") add_subdirectory("doc")
add_subdirectory("externals") add_subdirectory("examples" EXCLUDE_FROM_ALL)
add_subdirectory("libs")
add_subdirectory("src") add_subdirectory("src")
add_subdirectory("test") add_subdirectory("test")
add_subdirectory("examples" EXCLUDE_FROM_ALL)
target_link_libraries(amdis fmt) target_link_libraries(amdis fmt)
......
...@@ -12,7 +12,7 @@ if (GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git") ...@@ -12,7 +12,7 @@ if (GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git")
endif() endif()
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.") message(FATAL_ERROR "The submodules were not downloaded! GIT_SUBMODULE was turned off or failed. Please update submodules and try again.")
endif() endif()
...@@ -23,7 +23,7 @@ dune_library_add_sources(fmt SOURCES ...@@ -23,7 +23,7 @@ dune_library_add_sources(fmt SOURCES
) )
target_include_directories(fmt PUBLIC target_include_directories(fmt PUBLIC
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/externals/fmt/include>) $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/libs/fmt/include>)
install(FILES install(FILES
fmt/include/fmt/core.h fmt/include/fmt/core.h
......
Supports Markdown
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