File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -109,15 +109,14 @@ daemon_write_buildinfo("Game")
109109function (buildGameModule module_slug)
110110 set (module_target "${GAMEMODULE_NAME} -${module_slug} " )
111111
112- set (module_target_args " ${module_target} " ${PCH_FILE} ${GAMEMODULE_FILES} ${SHAREDLIST_${GAMEMODULE_NAME} } ${SHAREDLIST} ${BUILDINFOLIST} ${COMMONLIST} )
112+ set (module_target_args ${PCH_FILE} ${GAMEMODULE_FILES} ${SHAREDLIST_${GAMEMODULE_NAME} } ${SHAREDLIST} ${BUILDINFOLIST} ${COMMONLIST} )
113113
114114 if (module_slug STREQUAL "native-dll" )
115- add_library (${module_target_args} )
116- set_target_properties (${module_target} PROPERTIES
117- PREFIX ""
118- COMPILE_DEFINITIONS "BUILD_VM_IN_PROCESS" )
115+ add_library ("${module_target} " MODULE ${module_target_args} )
116+ set_target_properties (${module_target} PROPERTIES PREFIX "" )
117+ set (GAMEMODULE_DEFINITIONS "${GAMEMODULE_DEFINITIONS} ;BUILD_VM_IN_PROCESS" )
119118 else ()
120- add_executable (${module_target_args} )
119+ add_executable (" ${module_target} " ${module_target_args} )
121120 endif ()
122121
123122 set_target_properties (${module_target} PROPERTIES
You can’t perform that action at this time.
0 commit comments