Blob Blame History Raw
From f298c317d9cec59fb01d3daa4dbe7f4c99094536 Mon Sep 17 00:00:00 2001
From: Dakota Williams <raineforest@raineforest.me>
Date: Sat, 7 Dec 2019 19:27:40 -0500
Subject: [PATCH] Add GNUInstallDirs to CMakeLists

CMAKE_INSTALL_LIBDIR doesn't point at /usr/lib64 on 64 bit machines.
Adding GNUInstallDirs points the CMake variables at the right directories.
---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a6e892a..1984297 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,8 @@
 cmake_minimum_required(VERSION 3.5)
 project(libsimplemail VERSION 1.4.0 LANGUAGES CXX)
 
+include(GNUInstallDirs)
+
 set(CMAKE_AUTOMOC ON)
 
 set(CMAKE_CXX_VISIBILITY_PRESET hidden)
-- 
2.23.0