mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-05 21:07:53 +00:00
fix prefix path not resolving symlinks
This commit is contained in:
committed by
Anonymous Maarten
parent
381312a02a
commit
b47b6e02fd
@@ -14,6 +14,7 @@ macro(set_and_check _var _file)
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
get_filename_component(CMAKE_CURRENT_LIST_DIR ${CMAKE_CURRENT_LIST_DIR} REALPATH)
|
||||
get_filename_component(prefix "${CMAKE_CURRENT_LIST_DIR}/@cmake_prefix_relpath@" ABSOLUTE)
|
||||
|
||||
set(exec_prefix "@exec_prefix@")
|
||||
|
||||
Reference in New Issue
Block a user