From db433bb18e12510b4643de1d2b78048932044dfc Mon Sep 17 00:00:00 2001 From: Thibault Lestang Date: Mon, 28 Feb 2022 13:50:23 +0000 Subject: [PATCH] Install executable within project binary directory. #17 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7820d64..3e81dcc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,6 +17,7 @@ add_subdirectory(decomp2d) add_subdirectory(src) include(GNUInstallDirs) +set(CMAKE_INSTALL_PREFIX ${PROJECT_BINARY_DIR}) install(TARGETS xcompact3d RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )