From fdd1aceb7ddebe233bb99478c810ffedf0f4026a Mon Sep 17 00:00:00 2001 From: Pierre Wendling Date: Mon, 7 Aug 2023 09:23:06 -0400 Subject: [PATCH] CMake: Use relative install paths for headers. --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 981e25c..d773457 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,24 +77,24 @@ endif() install(FILES pthread_public.h - DESTINATION ${CMAKE_INSTALL_PREFIX}/include/ + DESTINATION include RENAME pthread.h ) install(FILES sched.h semaphore.h - DESTINATION ${CMAKE_INSTALL_PREFIX}/include/ + DESTINATION include ) if(VITA) install(FILES platform/vita/pte_types.h - DESTINATION ${CMAKE_INSTALL_PREFIX}/include/ + DESTINATION include ) elseif (PLATFORM_PSP) install(FILES platform/psp/pte_types.h - DESTINATION ${CMAKE_INSTALL_PREFIX}/include/ + DESTINATION include ) endif()