all repos — mgba @ d4ec95cf4f9cf0a882c19aa3f9a728e48daae654

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

d4ec95cf4f9cf0a882c19aa3f9a728e48daae654

parent

0e39b958c007ab2b1ddca80811b8b5309468431d

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

jump to
M CMakeLists.txtCMakeLists.txt

@@ -705,6 +705,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()

@@ -712,6 +713,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")

@@ -720,6 +722,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()