* BugFix: Correct some errors in the module scripts.

* BugFix: Fixes for compiling on Windows.
This commit is contained in:
Robert MacGregor 2022-05-21 18:07:14 -04:00
parent e7b01902ee
commit b23554295c
6 changed files with 42 additions and 18 deletions

View file

@ -18,4 +18,5 @@ foreach(ITEM ${SCRIPT_FILES})
endforeach()
# Once the full tree is installed, perform configurations on several files
CONFIGURE_FILE("game/main.tscript.in" "${CMAKE_INSTALL_PREFIX}/game/main.${TORQUE_SCRIPT_EXTENSION}")
CONFIGURE_FILE("game/main.tscript.in" "${CMAKE_BINARY_DIR}/main.${TORQUE_SCRIPT_EXTENSION}")
install(FILES "${CMAKE_BINARY_DIR}/main.${TORQUE_SCRIPT_EXTENSION}" DESTINATION "${CMAKE_INSTALL_PREFIX}/game")