From 2a0d8042ed004c3e65cac849980b7786916e1491 Mon Sep 17 00:00:00 2001 From: Greg Sjaardema Date: Tue, 7 Jun 2022 14:38:09 -0600 Subject: [PATCH] Fix syntax error The include_files argument was malformed due to a missing `${` at the beginning. Was expanding to (e.g.) the literal `Zstd_INCLUDE_DIRS}` instead of to the contents of the `Zstd_INCLUDE_DIRS` variable. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a3629b05d..2a6c400632 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1085,7 +1085,7 @@ string(TOUPPER "${filter}" upfilter) string(TOLOWER "${filter}" downfilter) # Define a test flag for filter IF(${filter}_FOUND) - INCLUDE_DIRECTORIES(${filter}_INCLUDE_DIRS}) + INCLUDE_DIRECTORIES(${${filter}_INCLUDE_DIRS}) SET(ENABLE_${upfilter} TRUE) SET(HAVE_${upfilter} ON) SET(STD_FILTERS "${STD_FILTERS} ${downfilter}")