Skip to content

Commit

Permalink
Fix CMake build, only use resource.h on Windows
Browse files Browse the repository at this point in the history
This was broken in commit 01e17ed (move windows specific files).
  • Loading branch information
carstene1ns authored and Ancurio committed Aug 18, 2017
1 parent fde6a92 commit b1bdf1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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
Expand Down Expand Up @@ -207,6 +206,7 @@ set(MAIN_SOURCE
)

if(WIN32)
list(APPEND MAIN_HEADERS windows/resource.h)
list(APPEND MAIN_SOURCE windows/resource.rc)
endif()

Expand Down

0 comments on commit b1bdf1e

Please sign in to comment.