mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-11 01:25:15 +02:00
f51a51df3b
Improved, fixed and streamlined cmake files. Optionally use system libraries instead of vcpkg (-DENABLE_VCPKG=OFF)
22 lines
519 B
CMake
22 lines
519 B
CMake
add_library(CemuResource)
|
|
|
|
set_property(TARGET CemuResource PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
|
|
|
target_precompile_headers(CemuResource PRIVATE ../Common/precompiled.h)
|
|
|
|
# icon resources
|
|
if(UNIX)
|
|
target_sources(CemuResource PRIVATE
|
|
embedded/resources.cpp
|
|
embedded/resources.h
|
|
)
|
|
endif()
|
|
|
|
target_sources(CemuResource PRIVATE
|
|
CafeDefaultFont.cpp
|
|
)
|
|
|
|
target_include_directories(CemuResource PUBLIC "../")
|
|
|
|
target_link_libraries(CemuResource PRIVATE CemuComponents)
|