Remove pkg-config prefix hack

This commit is contained in:
Ivan Epifanov 2021-02-14 11:52:43 +03:00 committed by Sam Lantinga
parent e5cbe7cf7a
commit 4708c6bb96
1 changed files with 1 additions and 9 deletions

View File

@ -2249,15 +2249,7 @@ if(NOT CMAKE_HOST_WIN32)
endif() endif()
if(NOT WINDOWS OR CYGWIN) if(NOT WINDOWS OR CYGWIN)
if(VITA) set(prefix ${CMAKE_INSTALL_PREFIX})
if(DOLCESDK)
set(prefix "\${DOLCESDK}/arm-dolce-eabi")
else()
set(prefix "\${VITASDK}/arm-vita-eabi")
endif()
else()
set(prefix ${CMAKE_INSTALL_PREFIX})
endif()
set(exec_prefix "\${prefix}") set(exec_prefix "\${prefix}")
set(libdir "\${exec_prefix}/lib${LIB_SUFFIX}") set(libdir "\${exec_prefix}/lib${LIB_SUFFIX}")