diff --git a/poliqarp-library/CMakeLists.txt b/poliqarp-library/CMakeLists.txt
index eb388361278ffb11781eb701a6a841f7007fe516..a5561d8f82a0ab9be92d3c8fa754d547ae43b4c3 100644
--- a/poliqarp-library/CMakeLists.txt
+++ b/poliqarp-library/CMakeLists.txt
@@ -4,6 +4,9 @@ set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMakeScripts)
 set(pqlib_ver_major 1)
 set(pqlib_ver_minor 0)
 
+FIND_PACKAGE(BISON REQUIRED)
+FIND_PACKAGE(FLEX REQUIRED)
+
 INCLUDE (CheckIncludeFiles)
 INCLUDE (CheckLibraryExists)
 INCLUDE (CheckFunctionExists)