From 2abc7884051f7c76af62d3f4ab658fb6ddeb31d2 Mon Sep 17 00:00:00 2001 From: magiblot Date: Tue, 3 Sep 2024 10:33:23 +0200 Subject: [PATCH] Fix CMAKE_INSTALL_LIBDIR warning --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f85d82..82ee8a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,8 +7,6 @@ option(TURBO_USE_SYSTEM_TVISION "Use system-wide Turbo Vision instead of the sub option(TURBO_USE_STATIC_RTL "Link against the static version of the runtime library (MSVC only)" OFF) option(TURBO_OPTIMIZE_BUILD "Use Precompiled Headers and Unity Build for the core library" ON) -include(GNUInstallDirs) - if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.15.0") cmake_policy(SET CMP0091 NEW) if (TURBO_USE_STATIC_RTL) @@ -20,6 +18,8 @@ project (turbo) set(TURBO_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}) +include(GNUInstallDirs) + # Target 'scintilla' # These two could be built in one single target, but we want to enable Unity Build