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

View file

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