Skip to content

Commit

Permalink
Temp workaround for Proj-Ascension#52
Browse files Browse the repository at this point in the history
  • Loading branch information
elken authored and lolzballs committed Jul 11, 2015
1 parent 4eb7fec commit 3737e0d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,12 @@ if(WIN32)
gdi32.lib
dwmapi.lib
)

set(WIN_LINKFLAGS ${CMAKE_CURRENT_SOURCE_DIR}/Resource/Launcher.res)
set_target_properties(ProjectAscension PROPERTIES LINK_FLAGS ${WIN_LINKFLAGS})
set_target_properties(ProjectAscension PROPERTIES COMPILE_FLAGS "/EHsc")

if(MSVC)
set(WIN_LINKFLAGS ${CMAKE_CURRENT_SOURCE_DIR}/Resource/Launcher.res)
set_target_properties(ProjectAscension PROPERTIES LINK_FLAGS ${WIN_LINKFLAGS})
set_target_properties(ProjectAscension PROPERTIES COMPILE_FLAGS "/EHsc")
endif(MSVC)
endif()

# --- RUNTIME DEPENDENCIES ---
Expand Down

0 comments on commit 3737e0d

Please sign in to comment.