Skip to content

Commit

Permalink
Fix issue with fs not being available in exp libs
Browse files Browse the repository at this point in the history
  • Loading branch information
xxEoD2242 committed Jun 24, 2024
1 parent 499f0e8 commit 60b28ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,12 @@ rsync -a --delete AirLib Unreal/Plugins/AirSim/Source
rm -rf Unreal/Plugins/AirSim/Source/AirLib/src

# Update all environment projects
for d in Unreal/Environments/* ; do
[ -L "${d%/}" ] && continue
$d/clean.sh
mkdir -p $d/Plugins
rsync -a --delete Unreal/Plugins/AirSim $d/Plugins
done
# for d in Unreal/Environments/* ; do
# [ -L "${d%/}" ] && continue
# $d/clean.sh
# mkdir -p $d/Plugins
# rsync -a --delete Unreal/Plugins/AirSim $d/Plugins
# done

set +x

Expand Down
2 changes: 1 addition & 1 deletion cmake/cmake-modules/CommonSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ macro(CommonSetup)
if (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
set(CMAKE_CXX_FLAGS "-stdlib=libc++ -Wno-documentation -Wno-unknown-warning-option ${CMAKE_CXX_FLAGS}")
find_package(LLVM REQUIRED CONFIG)
set(CXX_EXP_LIB "-L${LLVM_LIBRARY_DIRS} -ferror-limit=10")
set(CXX_EXP_LIB "-L${LLVM_LIBRARY_DIRS} -lstdc++fs -ferror-limit=10")
else()
set(CXX_EXP_LIB "-lstdc++fs -fmax-errors=10 -Wnoexcept -Wstrict-null-sentinel")
endif ()
Expand Down

0 comments on commit 60b28ad

Please sign in to comment.