mirror of
https://github.com/Vita3K/Vita3K.git
synced 2026-07-11 01:34:23 +02:00
Fix linking to unicorn on Unix (#13)
I'm not very familiar with CMake but this seems to work Closes #9
This commit is contained in:
Vendored
+2
-1
@@ -50,7 +50,8 @@ else()
|
||||
find_package(PkgConfig)
|
||||
pkg_check_modules(UNICORN REQUIRED unicorn)
|
||||
target_include_directories(unicorn INTERFACE "${UNICORN_INCLUDE_DIRS}")
|
||||
target_link_libraries(unicorn INTERFACE "${UNICORN_LIBRARIES}")
|
||||
find_library(UNICORN_LIB NAMES "${UNICORN_STATIC_LIBRARIES}" PATHS "${UNICORN_LIBRARY_DIRS}")
|
||||
target_link_libraries(unicorn INTERFACE "${UNICORN_LIB}")
|
||||
endif()
|
||||
|
||||
add_library(vita-headers INTERFACE)
|
||||
|
||||
Reference in New Issue
Block a user