Skip to content

Commit dfdd061

Browse files
committed
cmake/DaemonGame: set FORK value 1 in current scope, as it is used and only used in current scope
1 parent b0c63f7 commit dfdd061

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmake/DaemonGame.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ function(GAMEMODULE)
173173

174174
if (NOT FORK)
175175
if (BUILD_GAME_NACL)
176-
set(FORK 1 PARENT_SCOPE)
176+
set(FORK 1)
177177
endif()
178178

179179
if (BUILD_GAME_NATIVE_DLL)
@@ -185,7 +185,7 @@ function(GAMEMODULE)
185185
endif()
186186
endif()
187187

188-
if (FORK EQUAL 1)
188+
if (FORK EQUAL 1 AND NOT TARGET nacl-vms)
189189
if (CMAKE_GENERATOR MATCHES "Visual Studio")
190190
set(VM_GENERATOR "NMake Makefiles")
191191
else()

0 commit comments

Comments
 (0)