From 42da74eba093138b13048437b3dced02d33ee861 Mon Sep 17 00:00:00 2001 From: xavi92 Date: Tue, 13 Aug 2024 00:02:51 +0000 Subject: [PATCH] portability: Add missing target_include_directories git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9541 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 6ac127bc78360e8901c34da94878a38347f5607b Former-commit-id: 2861b6d73fd2aaaee9b56a28a1370fc55bea64f3 --- src/libs/portability/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libs/portability/CMakeLists.txt b/src/libs/portability/CMakeLists.txt index e33b763b3..bc3783e42 100644 --- a/src/libs/portability/CMakeLists.txt +++ b/src/libs/portability/CMakeLists.txt @@ -25,6 +25,8 @@ ENDIF(WIN32) # Note: Headers needed for having them available in IDEs. SD_ADD_LIBRARY(portability SHARED ${PORTABILITY_SOURCES} ${PORTABILITY_HEADERS}) +target_include_directories(portability PRIVATE ${CMAKE_CURRENT_LIST_DIR}) + # Might not work with GCC 4.5 or + (non-robot modules crash at 1st reload = after 1 dlclose) #SET_TARGET_PROPERTIES(portability PROPERTIES VERSION ${VERSION} SOVERSION 0.0.0)