From b1bdf1e44509765758fdfba03aae8d0b83841e57 Mon Sep 17 00:00:00 2001 From: Carsten Teibes 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()