From 9238b24e9357c75db355a3be5ee2894621670abd Mon Sep 17 00:00:00 2001 From: Georg Thiesen Date: Mon, 11 Mar 2024 03:29:14 +0100 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b8807e5..e630187 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,9 @@ file(GLOB source_files ) set(SOURCES ${source_files}) +set(CMAKE_INSTALL_PREFIX ./project_build) +message (STATUS "CMAKE_INSTALL_PREFIX: ${CMAKE_INSTALL_PREFIX}") + file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) option(BUILD_SHARED_LIBS "Build shared libraries" OFF) @@ -40,4 +43,4 @@ if(WIN32) VERBATIM) endif() -install(TARGETS ${PROJECT_NAME}) \ No newline at end of file +install(TARGETS ${PROJECT_NAME})