mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-08 03:51:39 +12:00
Sort out icons on desktop
This commit is contained in:
parent
369f810b51
commit
8fc6675a05
7 changed files with 30 additions and 21 deletions
|
@ -25,6 +25,12 @@ if(APPLE)
|
|||
enable_language(OBJC)
|
||||
endif()
|
||||
|
||||
# Enable RC support in order to use resource files for application icons
|
||||
if(WIN32)
|
||||
enable_language(RC)
|
||||
set(APP_RESOURCES docs/img/windows_icon.rc)
|
||||
endif()
|
||||
|
||||
if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-format-nonliteral -Wno-format-security -Wno-invalid-offsetof")
|
||||
endif()
|
||||
|
@ -593,7 +599,7 @@ if(NOT BUILD_HYDRA_CORE AND NOT BUILD_LIBRETRO_CORE)
|
|||
endif()
|
||||
|
||||
target_link_libraries(Alber PRIVATE AlberCore)
|
||||
target_sources(Alber PRIVATE ${FRONTEND_SOURCE_FILES} ${FRONTEND_HEADER_FILES})
|
||||
target_sources(Alber PRIVATE ${FRONTEND_SOURCE_FILES} ${FRONTEND_HEADER_FILES} ${APP_RESOURCES})
|
||||
elseif(BUILD_HYDRA_CORE)
|
||||
target_compile_definitions(AlberCore PRIVATE PANDA3DS_HYDRA_CORE=1)
|
||||
include_directories(third_party/hydra_core/include)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue