From 5404fa628df6e224329a8959f3d8f91e5785c555 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Tue, 25 Feb 2020 13:18:16 +1100 Subject: [PATCH] cmake: use rc resource file on windows --- app/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 15cb89871..334bed5a9 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -48,6 +48,13 @@ if(APPLE) set(OLIVE_TARGET "Olive") endif() +if (WIN32) + set(OLIVE_RESOURCES + ${OLIVE_RESOURCES} + packaging/windows/resources.rc + ) +endif() + add_executable(${OLIVE_TARGET} ${OLIVE_SOURCES} ${OLIVE_RESOURCES}