File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ variables:
26
26
- cd ..
27
27
- mkdir cmakebuild
28
28
- cd cmakebuild
29
- - cmake -DIRRLICHT_LIBRARY=$PWD/../irrlicht/lib/Linux/libIrrlicht .a -DIRRLICHT_INCLUDE_DIR=$PWD/../irrlicht/include -DCMAKE_INSTALL_PREFIX=../artifact/minetest/usr/ -DCMAKE_BUILD_TYPE=Release -DRUN_IN_PLACE=FALSE -DENABLE_GETTEXT=TRUE -DBUILD_SERVER=TRUE ..
29
+ - cmake -DIRRLICHT_LIBRARY=$PWD/../irrlicht/lib/Linux/libIrrlichtMt .a -DIRRLICHT_INCLUDE_DIR=$PWD/../irrlicht/include -DCMAKE_INSTALL_PREFIX=../artifact/minetest/usr/ -DCMAKE_BUILD_TYPE=Release -DRUN_IN_PLACE=FALSE -DENABLE_GETTEXT=TRUE -DBUILD_SERVER=TRUE ..
30
30
- make -j2
31
31
- make install
32
32
artifacts :
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
61
61
find_package (Irrlicht)
62
62
if (BUILD_CLIENT AND NOT IRRLICHT_FOUND)
63
63
message (FATAL_ERROR "Irrlicht is required to build the client, but it was not found." )
64
- elseif (IRRLICHT_INCLUDE_DIR STREQUAL "" )
64
+ elseif (NOT IRRLICHT_INCLUDE_DIR )
65
65
message (FATAL_ERROR "Irrlicht headers are required to build the server, but none found." )
66
66
endif ()
67
67
You can’t perform that action at this time.
0 commit comments