Commit 4de6df24 authored by Vinson Lee's avatar Vinson Lee

cmake: Use NO_MODULE instead of CONFIG for older cmake compatibility.

CONFIG is not available until cmake 2.8.8.

Fix build error with cmake < 2.8.8.

CMake Error at CMakeLists.txt:219 (find_package):
  find_package called with invalid argument "CONFIG"

Bugzilla: Vinson Lee's avatarVinson Lee <>
Reviewed-by: Dylan Baker's avatarDylan Baker <>
parent e28a6528
......@@ -216,7 +216,7 @@ else ()
find_package(PythonMako 0.8.0 REQUIRED)
find_package(bash-completion CONFIG)
find_package(bash-completion NO_MODULE)
# Default to compiling with debug information (`gcc -g`):
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