Skip to content

Commit

Permalink
fix windows compile failing in paths with spaces (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
wootguy committed Nov 10, 2024
1 parent 1597d7a commit 63448e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ if(UNIX)

elseif(MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP /W4")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /DEF:${CMAKE_CURRENT_SOURCE_DIR}/hl.def")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /DEF:\"${CMAKE_CURRENT_SOURCE_DIR}/hl.def\"")

set_target_properties(${SERVER_DLL_NAME} PROPERTIES
VS_DEBUGGER_COMMAND "${SERVER_WORK_DIR}/${SERVER_EXE}"
Expand Down

0 comments on commit 63448e7

Please sign in to comment.