mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
7935e614d1
DiscIO depends on some IOS functions and other functions, which are in Core and not Common. This results in link errors if using DiscIO on its own (which is why DolphinTool had a listed dependency on videocommon; videocommon has a dependency on core so adding that made things build).
22 lines
450 B
CMake
22 lines
450 B
CMake
add_executable(dolphin-tool
|
|
ToolHeadlessPlatform.cpp
|
|
Command.h
|
|
ConvertCommand.cpp
|
|
ConvertCommand.h
|
|
VerifyCommand.cpp
|
|
VerifyCommand.h
|
|
ToolMain.cpp
|
|
)
|
|
|
|
set_target_properties(dolphin-tool PROPERTIES OUTPUT_NAME dolphin-tool)
|
|
|
|
target_link_libraries(dolphin-tool
|
|
PRIVATE
|
|
discio
|
|
uicommon
|
|
cpp-optparse
|
|
)
|
|
|
|
set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} dolphin-tool)
|
|
install(TARGETS dolphin-tool RUNTIME DESTINATION ${bindir})
|