From fd39f7efb1337d57ad1411d527abec75adc7f50e Mon Sep 17 00:00:00 2001 From: Oleg Artenii Date: Fri, 14 Sep 2018 09:24:40 +0300 Subject: [PATCH] cmake: fixed undefined ${CMAKE_INSTALL_LIBDIR} --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8cac0a1f5..9f5ca4c0d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,7 @@ add_library(utf8::cpp ALIAS utf8cpp) if(WIN32 AND NOT CYGWIN) set(DEF_INSTALL_CMAKE_DIR CMake) else() + include(GNUInstallDirs) # define CMAKE_INSTALL_* set(DEF_INSTALL_CMAKE_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/utf8cpp) endif() -- 2.40.0