This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch install-opt
in repository https://gitbox.apache.org/repos/asf/trafficserver-libswoc.git

commit 00a9ea767000c1999795f8ee660fdd38f7b186fd
Author: Alan M. Carroll <[email protected]>
AuthorDate: Sun Mar 13 21:41:04 2022 -0500

    fix.
---
 code/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt
index 854b79e..a94861e 100644
--- a/code/CMakeLists.txt
+++ b/code/CMakeLists.txt
@@ -64,7 +64,7 @@ target_include_directories(libswoc
         $<INSTALL_INTERFACE:include>
     )
 
-if (LIBSWOC_INSTALL STREQUAL "on")
+if (LIBSWOC_INSTALL)
     # These install target variables are created by GNUInstallDirs.
     install(TARGETS libswoc
         EXPORT libswoc-config

Reply via email to