diff --git a/SamTFE/Sources/CMakeLists.txt b/SamTFE/Sources/CMakeLists.txt index 825233c9..bc73ab78 100644 --- a/SamTFE/Sources/CMakeLists.txt +++ b/SamTFE/Sources/CMakeLists.txt @@ -1580,10 +1580,13 @@ endif() # NOT XPLUS # RAKE! Install Section. if(LOCAL_INSTALL AND NOT XPLUS) if(DEBUG) # RAKE! Will this work with TFE? - install(TARGETS SeriousSam${MP} ${SHADERSLIB} ${GAMEMPLIB} ${ENTITIESMPLIB} ${ENGINELIB} + install(TARGETS SeriousSam${MP} ${SHADERSLIB} ${GAMEMPLIB} ${ENTITIESMPLIB} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/Bin" LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/Bin/Debug" PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) + install(TARGETS ${ENGINELIB} + LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/Bin" + PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) if(BUILD_DEDICATED_SERVER) install(TARGETS DedicatedServer${MP} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/Bin" diff --git a/SamTSE/Sources/CMakeLists.txt b/SamTSE/Sources/CMakeLists.txt index d9bdee4b..96913685 100644 --- a/SamTSE/Sources/CMakeLists.txt +++ b/SamTSE/Sources/CMakeLists.txt @@ -1580,10 +1580,13 @@ endif() # NOT XPLUS # RAKE! Install Section. if(LOCAL_INSTALL AND NOT XPLUS) if(DEBUG) # RAKE! Will this work with TFE? - install(TARGETS SeriousSam${MP} ${SHADERSLIB} ${GAMEMPLIB} ${ENTITIESMPLIB} ${ENGINELIB} + install(TARGETS SeriousSam${MP} ${SHADERSLIB} ${GAMEMPLIB} ${ENTITIESMPLIB} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/Bin" LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/Bin/Debug" PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) + install(TARGETS ${ENGINELIB} + LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/Bin" + PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) if(BUILD_DEDICATED_SERVER) install(TARGETS DedicatedServer${MP} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/Bin"