Commit 7c634812 authored by Konstantin Osipov's avatar Konstantin Osipov

Fix the cmake rule that builds heap tests, added

to cmake build with the patch for WL#5419.
Add missing libraries.
parent b1404566
...@@ -25,7 +25,7 @@ SET(HEAP_SOURCES _check.c _rectest.c hp_block.c hp_clear.c hp_close.c hp_create ...@@ -25,7 +25,7 @@ SET(HEAP_SOURCES _check.c _rectest.c hp_block.c hp_clear.c hp_close.c hp_create
MYSQL_ADD_PLUGIN(heap ${HEAP_SOURCES} STORAGE_ENGINE MANDATORY RECOMPILE_FOR_EMBEDDED) MYSQL_ADD_PLUGIN(heap ${HEAP_SOURCES} STORAGE_ENGINE MANDATORY RECOMPILE_FOR_EMBEDDED)
ADD_EXECUTABLE(hp_test1 hp_test1.c) ADD_EXECUTABLE(hp_test1 hp_test1.c)
TARGET_LINK_LIBRARIES(hp_test1 mysys heap) TARGET_LINK_LIBRARIES(hp_test1 mysys heap dbug strings)
ADD_EXECUTABLE(hp_test2 hp_test2.c) ADD_EXECUTABLE(hp_test2 hp_test2.c)
TARGET_LINK_LIBRARIES(hp_test2 mysys heap) TARGET_LINK_LIBRARIES(hp_test2 mysys heap dbug strings)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment