all repos — mgba @ 1844c26388885986ecd7cb7cdbd02453a342a0f8

mGBA Game Boy Advance Emulator

CMake: Add missing link directories (fixes #1358)
Vicki Pfau vi@endrift.com
Fri, 15 Mar 2019 23:21:54 -0700
commit

1844c26388885986ecd7cb7cdbd02453a342a0f8

parent

a41e2dd2253ef1d08b3445a221848c6f849f49f7

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -707,6 +707,7 @@ if(USE_EPOXY)

add_definitions(-DBUILD_GL -DBUILD_GLES2) list(APPEND FEATURES EPOXY) include_directories(AFTER ${EPOXY_INCLUDE_DIRS}) + link_directories(${EPOXY_LIBRARY_DIRS}) set(OPENGLES2_LIBRARY ${EPOXY_LIBRARIES}) set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libepoxy0") endif()

@@ -714,6 +715,7 @@

if(USE_SQLITE3) list(APPEND FEATURES SQLITE3) include_directories(AFTER ${SQLITE3_INCLUDE_DIRS}) + link_directories(${SQLITE3_LIBRARY_DIRS}) list(APPEND DEPENDENCY_LIB ${SQLITE3_LIBRARIES}) set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libsqlite3-0") list(APPEND FEATURE_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/feature/sqlite3/no-intro.c")

@@ -722,6 +724,7 @@

if(USE_ELF) list(APPEND FEATURES ELF) include_directories(AFTER ${LIBELF_INCLUDE_DIRS}) + link_directories(${LIBELF_LIBRARY_DIRS}) list(APPEND DEPENDENCY_LIB ${LIBELF_LIBRARIES}) set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libelf1") endif()