mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-02 13:01:18 +12:00
Fix compilation on GCC and other Linux fixes (#80)
This commit is contained in:
parent
96dcc7c82e
commit
454b587e36
43 changed files with 339 additions and 292 deletions
|
@ -1,6 +1,11 @@
|
|||
project(CemuCafe)
|
||||
|
||||
include_directories(".")
|
||||
|
||||
if((CMAKE_C_COMPILER_ID STREQUAL "GNU") OR (CMAKE_C_COMPILER_ID STREQUAL "Clang"))
|
||||
add_compile_options(-mssse3 -mavx2)
|
||||
endif()
|
||||
|
||||
file(GLOB_RECURSE CPP_FILES *.cpp)
|
||||
file(GLOB_RECURSE H_FILES *.h)
|
||||
add_library(CemuCafe ${CPP_FILES} ${H_FILES})
|
||||
|
@ -23,7 +28,6 @@ target_link_libraries(CemuCafe glslang SPIRV)
|
|||
target_link_libraries(CemuCafe ih264d zarchive)
|
||||
#target_link_libraries(CemuCafe zstd::libzstd_static)
|
||||
|
||||
|
||||
IF(WIN32)
|
||||
target_link_libraries(CemuCafe iphlpapi)
|
||||
ENDIF()
|
Loading…
Add table
Add a link
Reference in a new issue