From e3ce97a9473fd4e0b4f148c97c912d0e03a19208 Mon Sep 17 00:00:00 2001 From: Roy Shilkrot Date: Sun, 30 May 2021 21:20:26 -0400 Subject: [PATCH] fix cmake distribution install dirs --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d700ec94b..197cb04e2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -103,8 +103,8 @@ add_subdirectory(src) # Create CMake config files for distribution -set(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/include/ ) -set(LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib/ ) +set(INCLUDE_INSTALL_DIR include/ ) +set(LIB_INSTALL_DIR lib/ ) install(EXPORT MTTrackingExports FILE ${PROJECT_NAME}Targets.cmake