mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-14 10:48:28 +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
|
@ -1,7 +1,5 @@
|
|||
project(CemuUtil)
|
||||
|
||||
include_directories(".")
|
||||
|
||||
file(GLOB_RECURSE CPP_FILES *.cpp)
|
||||
file(GLOB_RECURSE H_FILES *.h)
|
||||
|
||||
|
@ -11,5 +9,16 @@ set_property(TARGET CemuUtil PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CON
|
|||
|
||||
target_precompile_headers(CemuUtil PRIVATE ../Common/precompiled.h)
|
||||
|
||||
target_link_libraries(CemuUtil CemuCommon CemuConfig)
|
||||
target_include_directories(CemuUtil PRIVATE ../)
|
||||
target_include_directories(CemuUtil PUBLIC "../")
|
||||
|
||||
target_link_libraries(CemuUtil PRIVATE
|
||||
CemuCommon
|
||||
CemuConfig
|
||||
Boost::headers
|
||||
Boost::nowide
|
||||
OpenSSL::Crypto
|
||||
)
|
||||
|
||||
if (ENABLE_WXWIDGETS)
|
||||
target_link_libraries(CemuUtil PRIVATE wx::base wx::core)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue