From ee9e62e2d098166d5421076a58d63f4f4f60dbaf Mon Sep 17 00:00:00 2001
From: Carsten Teibes <dev@f4ke.de>
Date: Fri, 18 Aug 2017 19:06:11 +0200
Subject: [PATCH] Fix CMake build, only use `resource.h` on Windows This was
 broken in commit 01e17ed5c645 (move windows specific files).

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7c29f7d..cdfcd32 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -99,7 +99,6 @@ find_package(ZLIB REQUIRED)
 ## Setup main source ##
 
 set(MAIN_HEADERS
-	assets/resource.h
 	src/quadarray.h
 	src/audio.h
 	src/binding.h
@@ -207,6 +206,7 @@ set(MAIN_SOURCE
 )
 
 if(WIN32)
+	list(APPEND MAIN_HEADERS windows/resource.h)
 	list(APPEND MAIN_SOURCE windows/resource.rc)
 endif()