aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-03-26 23:08:39 +0100
committersfan5 <sfan5@live.de>2021-03-26 23:12:19 +0100
commit5f4c78a77d99834887a714944899df92a4ebb573 (patch)
tree372b7c3d9a849c9b22f890ea601699eeb4212b2e /CMakeLists.txt
parentfc1512cca64ca9e44ed60372355a0cf1f7b2fe09 (diff)
downloadminetest-5f4c78a77d99834887a714944899df92a4ebb573.tar.gz
minetest-5f4c78a77d99834887a714944899df92a4ebb573.tar.bz2
minetest-5f4c78a77d99834887a714944899df92a4ebb573.zip
Fix broken include check and correct Gitlab-CI script
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e4bda3afb..c46ff6c77 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -61,7 +61,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
find_package(Irrlicht)
if(BUILD_CLIENT AND NOT IRRLICHT_FOUND)
message(FATAL_ERROR "Irrlicht is required to build the client, but it was not found.")
-elseif(IRRLICHT_INCLUDE_DIR STREQUAL "")
+elseif(NOT IRRLICHT_INCLUDE_DIR)
message(FATAL_ERROR "Irrlicht headers are required to build the server, but none found.")
endif()