mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-09-30 21:11:43 -05: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:
@@ -1,7 +1,5 @@
|
||||
project(CemuInput)
|
||||
|
||||
include_directories(".")
|
||||
|
||||
add_library(CemuInput
|
||||
InputManager.cpp
|
||||
InputManager.h
|
||||
@@ -95,4 +93,21 @@ endif()
|
||||
|
||||
target_precompile_headers(CemuInput PRIVATE ../Common/precompiled.h)
|
||||
|
||||
target_include_directories(CemuInput PRIVATE ../)
|
||||
target_include_directories(CemuInput PUBLIC "../")
|
||||
|
||||
target_link_libraries(CemuInput PRIVATE
|
||||
CemuCafe
|
||||
CemuCommon
|
||||
CemuConfig
|
||||
CemuGui
|
||||
CemuUtil
|
||||
Boost::headers
|
||||
Boost::program_options
|
||||
glm::glm
|
||||
pugixml::pugixml
|
||||
SDL2::SDL2
|
||||
)
|
||||
|
||||
if (ENABLE_WXWIDGETS)
|
||||
target_link_libraries(CemuInput PRIVATE wx::base wx::core)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user