mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 13:31:18 +12:00
build: improve the Linux aspect of things (#75)
Improved, fixed and streamlined cmake files. Optionally use system libraries instead of vcpkg (-DENABLE_VCPKG=OFF)
This commit is contained in:
parent
0f24b0663e
commit
f51a51df3b
18 changed files with 368 additions and 96 deletions
|
@ -8,4 +8,19 @@ set_property(TARGET CemuConfig PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<C
|
|||
|
||||
target_precompile_headers(CemuConfig PRIVATE ../Common/precompiled.h)
|
||||
|
||||
target_include_directories(CemuConfig PRIVATE ../)
|
||||
target_include_directories(CemuConfig PUBLIC "../")
|
||||
|
||||
target_link_libraries(CemuConfig PRIVATE
|
||||
CemuCafe
|
||||
CemuCommon
|
||||
CemuUtil
|
||||
Boost::headers
|
||||
Boost::program_options
|
||||
pugixml::pugixml
|
||||
)
|
||||
|
||||
if (ENABLE_WXWIDGETS)
|
||||
# PUBLIC because wx/language.h is included in CemuConfig.h
|
||||
# Could be made PRIVATE by using 0 instead of wxLANGUAGE_DEFAULT
|
||||
target_link_libraries(CemuConfig PUBLIC wx::base wx::core)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue