Skip to content

Commit dc7bf7b

Browse files
committed
cmake: fail early if no module.h found
Commit 58d39d7 ('cmake: fix warning') causes a little regression: if there is no tarantool/module.h header, we should fail at the cmake stage. After the fix of the warning we'll fail only at the building stage (when `make` is called). Here I return the old behaviour (fail on the `cmake` stage) back. See tarantool/tuple-keydef#20
1 parent 044fcd6 commit dc7bf7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ endif()
88
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}" ${CMAKE_MODULE_PATH})
99

1010
# Find Tarantool and Lua dependencies
11-
set(TARANTOOL_FIND_REQUIRED ON)
11+
set(Tarantool_FIND_REQUIRED ON)
1212
find_package(Tarantool)
1313
include_directories(${TARANTOOL_INCLUDE_DIRS})
1414

0 commit comments

Comments
 (0)