Fix CMake build, only use `resource.h` on Windows
This was broken in commit 01e17ed5c6
(move windows specific files).
This commit is contained in:
parent
fde6a92197
commit
b1bdf1e445
|
@ -99,7 +99,6 @@ find_package(ZLIB REQUIRED)
|
||||||
## Setup main source ##
|
## Setup main source ##
|
||||||
|
|
||||||
set(MAIN_HEADERS
|
set(MAIN_HEADERS
|
||||||
assets/resource.h
|
|
||||||
src/quadarray.h
|
src/quadarray.h
|
||||||
src/audio.h
|
src/audio.h
|
||||||
src/binding.h
|
src/binding.h
|
||||||
|
@ -207,6 +206,7 @@ set(MAIN_SOURCE
|
||||||
)
|
)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
list(APPEND MAIN_HEADERS windows/resource.h)
|
||||||
list(APPEND MAIN_SOURCE windows/resource.rc)
|
list(APPEND MAIN_SOURCE windows/resource.rc)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue