Commit 750af030 authored by TheNumbat's avatar TheNumbat
Browse files

Fix windows link w/ spaces in path

parent 42db00a8
...@@ -237,7 +237,7 @@ include_directories(${ASSIMP_INCLUDE_DIRS}) ...@@ -237,7 +237,7 @@ include_directories(${ASSIMP_INCLUDE_DIRS})
if(WIN32) if(WIN32)
target_include_directories(Scotty3D PRIVATE "deps/win") target_include_directories(Scotty3D PRIVATE "deps/win")
if(MSVC) if(MSVC)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${Scotty3D_SOURCE_DIR}/src/platform/icon.res /IGNORE:4098 /IGNORE:4099") set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} \"${CMAKE_CURRENT_SOURCE_DIR}/src/platform/icon.res\" /IGNORE:4098 /IGNORE:4099")
endif() endif()
add_definitions(-DWIN32_LEAN_AND_MEAN) add_definitions(-DWIN32_LEAN_AND_MEAN)
target_link_libraries(Scotty3D PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/deps/win/SDL2/SDL2main.lib") target_link_libraries(Scotty3D PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/deps/win/SDL2/SDL2main.lib")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment