Skip to content

Commit d86c0a3

Browse files
committed
cmake: fail early if no module.h found
Commit f7f84f0 ('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. Follows up #18
1 parent f7f84f0 commit d86c0a3

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
@@ -12,7 +12,7 @@ include(cmake/compiler.cmake)
1212
include(cmake/utils.cmake)
1313

1414
# Find Tarantool.
15-
set(TARANTOOL_FIND_REQUIRED ON)
15+
set(Tarantool_FIND_REQUIRED ON)
1616
find_package(Tarantool)
1717
include_directories(${TARANTOOL_INCLUDE_DIRS})
1818

0 commit comments

Comments
 (0)