Correct defines for binreloc

After recent moving path functions to appdir.c

patch T42826: by ldo (Lawrence D'Oliveiro)
This commit is contained in:
Campbell Barton 2014-12-07 13:21:02 +01:00
parent e81d077c85
commit e67fd7a2cb
Notes: blender-bot 2023-02-14 09:47:10 +01:00
Referenced by issue #42826, Blender is no longer able to find its executable path via binreloc on Linux
Referenced by issue #42729, Blender wont start correctly using Symlinks
2 changed files with 7 additions and 7 deletions

View File

@ -277,6 +277,13 @@ set(SRC
intern/pbvh_intern.h
)
if(WITH_BINRELOC)
list(APPEND INC_SYS
${BINRELOC_INCLUDE_DIRS}
)
add_definitions(-DWITH_BINRELOC)
endif()
add_definitions(${GL_DEFINITIONS})
if(WIN32)

View File

@ -189,13 +189,6 @@ set(SRC
PIL_time_utildefines.h
)
if(WITH_BINRELOC)
list(APPEND INC_SYS
${BINRELOC_INCLUDE_DIRS}
)
add_definitions(-DWITH_BINRELOC)
endif()
if(WITH_MEM_VALGRIND)
add_definitions(-DWITH_MEM_VALGRIND)
endif()