Explorar el Código

Revert "Not requiring on Genoot c:"

This reverts commit edb0778beffebc68c62c128dcf29900360b43857.

The readline.pc for pkg-config has been added to readline in version 8.
Versions below might not find readline with pkg-config.
anon hace 5 años
padre
commit
9069c0a30c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      cli/CMakeLists.txt

+ 1 - 1
cli/CMakeLists.txt

@@ -9,7 +9,7 @@ add_executable(ccats-cli src/main.cpp src/iomanager.cpp src/machineiomanager.cpp
 
 # use pkg-config to find readline as it doesnt provide cmake files
 find_package(PkgConfig REQUIRED)
-pkg_check_modules(READLINE readline)
+pkg_check_modules(READLINE REQUIRED readline)
 pkg_check_modules(JSONCPP REQUIRED jsoncpp)
 
 find_package(Threads)