Fix CMake build, only use `resource.h` on Windows

This was broken in commit 01e17ed5c6 (move windows specific files).
This commit is contained in:
Carsten Teibes 2017-08-18 19:06:11 +02:00 committed by Jonas Kulla
parent fde6a92197
commit b1bdf1e445
1 changed files with 1 additions and 1 deletions

View File

@ -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()