Skip to content

Commit 657e360

Browse files
committed
cmake: fail early if no module.h found
Commit 32e6593 ('Fix CMake 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 32e6593 commit 657e360

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
@@ -9,7 +9,7 @@ endif()
99
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}" ${CMAKE_MODULE_PATH})
1010

1111
# Find Tarantool and Lua dependecies
12-
set(TARANTOOL_FIND_REQUIRED ON)
12+
set(Tarantool_FIND_REQUIRED ON)
1313
find_package(Tarantool)
1414
include_directories(${TARANTOOL_INCLUDE_DIRS})
1515

0 commit comments

Comments
 (0)