Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AI-WAIFU committed Jul 20, 2023
1 parent 71bbfff commit 72f5cd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -532,10 +532,6 @@ set(client_SRCS
${proto_targets}
)

if (CMAKE_VERSION VERSION_GREATER 3.8.1)

endif()

include_directories(
${PROJECT_BINARY_DIR}
${PROJECT_SOURCE_DIR}
Expand Down
4 changes: 2 additions & 2 deletions util/minetester/build_minetest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ SDL2_DIR=${ROOT}/lib/SDL/build/lib/cmake/SDL2/
echo ${SDL2_DIR}

cmake ../.. -DRUN_IN_PLACE=TRUE -DBUILD_HEADLESS=1 -DSDL2_DIR=${SDL2_DIR}
make -j$(( $(nproc) > 1 ? $(nproc) - 1 : 1 )) #use max(nproc,1) threads
make -j$(( $(nproc) > 1 ? $(nproc) - 1 : 1 )) #use max(nproc - 1,1) threads

cd ../..

mv bin/minetest bin/minetest_headless

cd build/normal
cmake ../.. -DRUN_IN_PLACE=TRUE -DBUILD_HEADLESS=0 -DSDL2_DIR=
make -j$(( $(nproc) > 1 ? $(nproc) - 1 : 1 ))
make -j$(( $(nproc) > 1 ? $(nproc) - 1 : 1 )) #use max(nproc - 1,1) threads


0 comments on commit 72f5cd7

Please sign in to comment.