mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
commit
02127e360a
@ -241,10 +241,6 @@ else()
|
|||||||
if(NO_PIE_UPSTREAM)
|
if(NO_PIE_UPSTREAM)
|
||||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie")
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie")
|
||||||
endif()
|
endif()
|
||||||
check_c_compiler_flag("-nopie" NO_PIE_PATCHED)
|
|
||||||
if(NO_PIE_PATCHED)
|
|
||||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -nopie")
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -47,11 +47,13 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(ALSA
|
|||||||
if(ALSA_FOUND)
|
if(ALSA_FOUND)
|
||||||
set( ALSA_LIBRARIES ${ALSA_LIBRARY} )
|
set( ALSA_LIBRARIES ${ALSA_LIBRARY} )
|
||||||
set( ALSA_INCLUDE_DIRS ${ALSA_INCLUDE_DIR} )
|
set( ALSA_INCLUDE_DIRS ${ALSA_INCLUDE_DIR} )
|
||||||
add_library(ALSA::ALSA UNKNOWN IMPORTED)
|
if(NOT TARGET ALSA::ALSA)
|
||||||
set_target_properties(ALSA::ALSA PROPERTIES
|
add_library(ALSA::ALSA UNKNOWN IMPORTED)
|
||||||
IMPORTED_LOCATION ${ALSA_LIBRARY}
|
set_target_properties(ALSA::ALSA PROPERTIES
|
||||||
INTERFACE_INCLUDE_DIRECTORIES ${ALSA_INCLUDE_DIR}
|
IMPORTED_LOCATION ${ALSA_LIBRARY}
|
||||||
)
|
INTERFACE_INCLUDE_DIRECTORIES ${ALSA_INCLUDE_DIR}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
mark_as_advanced(ALSA_INCLUDE_DIR ALSA_LIBRARY)
|
mark_as_advanced(ALSA_INCLUDE_DIR ALSA_LIBRARY)
|
||||||
|
@ -18,11 +18,13 @@ find_package_handle_standard_args(OpenSLES DEFAULT_MSG
|
|||||||
OPENSLES_LIBRARY OPENSLES_INCLUDE_DIR)
|
OPENSLES_LIBRARY OPENSLES_INCLUDE_DIR)
|
||||||
|
|
||||||
if(OpenSLES_FOUND)
|
if(OpenSLES_FOUND)
|
||||||
add_library(OpenSLES::OpenSLES UNKNOWN IMPORTED)
|
if(NOT TARGET OpenSLES::OpenSLES)
|
||||||
set_target_properties(OpenSLES::OpenSLES PROPERTIES
|
add_library(OpenSLES::OpenSLES UNKNOWN IMPORTED)
|
||||||
IMPORTED_LOCATION ${OPENSLES_LIBRARY}
|
set_target_properties(OpenSLES::OpenSLES PROPERTIES
|
||||||
INTERFACE_INCLUDE_DIRECTORIES ${OPENSLES_INCLUDE_DIR}
|
IMPORTED_LOCATION ${OPENSLES_LIBRARY}
|
||||||
)
|
INTERFACE_INCLUDE_DIRECTORIES ${OPENSLES_INCLUDE_DIR}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
mark_as_advanced(OPENSLES_INCLUDE_DIR OPENSLES_LIBRARY )
|
mark_as_advanced(OPENSLES_INCLUDE_DIR OPENSLES_LIBRARY )
|
||||||
|
Loading…
Reference in New Issue
Block a user