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
This commit is contained in:
xavi92 2024-08-13 00:02:51 +00:00
parent f7dd89b2ad
commit 42da74eba0

View file

@ -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)