From: Bastian Dehn Date: Mon, 25 May 2026 07:48:06 +0000 (+0200) Subject: add correct install prefix X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=5a78886e598a5523fc4902ef359c6710f82394dd;p=mv-none-space.git add correct install prefix --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2131d98..c6a0663 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,5 +1,11 @@ cmake_minimum_required(VERSION 3.25.1) +if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) + set_property(CACHE CMAKE_INSTALL_PREFIX PROPERTY VALUE "/usr") +endif() + +message(STATUS "CMAKE_INSTALL_PREFIX: ${CMAKE_INSTALL_PREFIX}") + configure_file(config.h.in config.h) include_directories(${CMAKE_CURRENT_BINARY_DIR})