mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-07-11 01:34:17 +02:00
cmake: Add fmt to cmake configuration
This commit is contained in:
committed by
refractionpcsx2
parent
39ac5bff71
commit
397cb081c3
+11
-3
@@ -35,10 +35,15 @@ get_git_version_info()
|
||||
write_svnrev_h()
|
||||
|
||||
if(NOT NO_TRANSLATION)
|
||||
# make the translation
|
||||
if(EXISTS "${CMAKE_SOURCE_DIR}/locales")
|
||||
add_subdirectory(locales)
|
||||
# make the translation
|
||||
if(EXISTS "${CMAKE_SOURCE_DIR}/locales")
|
||||
add_subdirectory(locales)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# 3rdpary Libraries
|
||||
if(EXISTS "${CMAKE_SOURCE_DIR}/3rdparty/fmt/fmt")
|
||||
add_subdirectory(3rdparty/fmt/fmt)
|
||||
endif()
|
||||
|
||||
# make common
|
||||
@@ -95,3 +100,6 @@ else()
|
||||
INSTALL(FILES "${CMAKE_SOURCE_DIR}/linux_various/PCSX2-linux.sh" DESTINATION "${CMAKE_SOURCE_DIR}/bin")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Link Libraries
|
||||
target_link_libraries(PCSX2 fmt::fmt)
|
||||
|
||||
Reference in New Issue
Block a user