1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 22:57:45 +00:00

builds should work now... probably

This commit is contained in:
Adam 2018-02-09 20:25:18 +11:00
parent 9d8f3648a0
commit ca42ed228d

View file

@ -32,14 +32,14 @@ foreach(_scriptDir ${children})
if(ScriptIncludes)
set(ScriptIncludes "${ScriptIncludes}\n#include \"${_script}\"")
else()
set(ScriptIncludes "#include \"./${_script}\"")
set(ScriptIncludes "#include \"${_script}\"")
endif()
set(ScriptNames "${ScriptNames} static_cast< ScriptObject* >( new ${_scriptname} ),\n")
endif()
endforeach()
add_library("script_${_name}" MODULE "${SCRIPT_FILES}" "${SCRIPT_INCLUDE_FILES}" "${_scriptDir}/ScriptLoader.cpp")
add_library("script_${_name}" MODULE "${SCRIPT_BUILD_FILES}" "${SCRIPT_INCLUDE_FILES}" "${_scriptDir}/ScriptLoader.cpp")
target_link_libraries("script_${_name}" sapphire_zone)
if(MSVC)