mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Fix the win32 resource apply
This commit is contained in:
parent
8ed8dd612e
commit
58b5cb8bcf
@ -48,8 +48,6 @@ if (USE_APPIMAGE AND "${CMAKE_BUILD_TYPE}" STREQUAL "Release")
|
|||||||
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s")
|
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
add_executable (planetblupi ${sources})
|
|
||||||
|
|
||||||
# These copies are necessary with our stuff for AppImage because it's not
|
# These copies are necessary with our stuff for AppImage because it's not
|
||||||
# supported by CPack.
|
# supported by CPack.
|
||||||
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
|
||||||
@ -73,6 +71,7 @@ endif ()
|
|||||||
# Windows stuff
|
# Windows stuff
|
||||||
|
|
||||||
if (MINGW)
|
if (MINGW)
|
||||||
|
file (COPY resources/win32/blupi.ico DESTINATION "${CMAKE_BINARY_DIR}")
|
||||||
configure_file (
|
configure_file (
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/resources/win32/planetblupi.rc.in"
|
"${CMAKE_CURRENT_SOURCE_DIR}/resources/win32/planetblupi.rc.in"
|
||||||
"${CMAKE_BINARY_DIR}/planetblupi.rc"
|
"${CMAKE_BINARY_DIR}/planetblupi.rc"
|
||||||
@ -119,6 +118,8 @@ set_property (TARGET SDL_kitchensink PROPERTY IMPORTED_LOCATION ${CMAKE_INSTALL_
|
|||||||
## Main binary dependencies
|
## Main binary dependencies
|
||||||
###########################
|
###########################
|
||||||
|
|
||||||
|
add_executable (planetblupi ${sources})
|
||||||
|
|
||||||
target_link_libraries (planetblupi PUBLIC
|
target_link_libraries (planetblupi PUBLIC
|
||||||
${Intl_LIBRARIES}
|
${Intl_LIBRARIES}
|
||||||
${Iconv_LIBRARIES}
|
${Iconv_LIBRARIES}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user