Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Courses
Scotty3D
Commits
750af030
Commit
750af030
authored
Oct 05, 2020
by
TheNumbat
Browse files
Fix windows link w/ spaces in path
parent
42db00a8
Changes
1
Show whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
750af030
...
...
@@ -237,7 +237,7 @@ include_directories(${ASSIMP_INCLUDE_DIRS})
if
(
WIN32
)
target_include_directories
(
Scotty3D PRIVATE
"deps/win"
)
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
()
add_definitions
(
-DWIN32_LEAN_AND_MEAN
)
target_link_libraries
(
Scotty3D PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/deps/win/SDL2/SDL2main.lib"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment