diff --git a/dlls/CMakeLists.txt b/dlls/CMakeLists.txt index 1109ea14..ab0dfb7f 100644 --- a/dlls/CMakeLists.txt +++ b/dlls/CMakeLists.txt @@ -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}"