File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -69,4 +69,8 @@ if(RTS_INSTALL_PREFIX_GENERALS AND NOT "${RTS_INSTALL_PREFIX_GENERALS}" STREQUAL
6969 install (TARGETS g_w3dview RUNTIME DESTINATION "${RTS_INSTALL_PREFIX_GENERALS} " )
7070 install (FILES $<TARGET_PDB_FILE:g_w3dview> DESTINATION "${RTS_INSTALL_PREFIX_GENERALS} " OPTIONAL )
7171 endif ()
72+ else ()
73+ message (STATUS "Generals install path not found. Registry keys for 'Generals' not found. "
74+ "Generals targets will be built, but not installed. "
75+ "You can specify the path manually by setting RTS_INSTALL_PREFIX_GENERALS." )
7276endif ()
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ if(RTS_INSTALL_PREFIX_ZEROHOUR AND NOT "${RTS_INSTALL_PREFIX_ZEROHOUR}" STREQUAL
6363 install (TARGETS z_mapcachebuilder RUNTIME DESTINATION "${RTS_INSTALL_PREFIX_ZEROHOUR} " )
6464 install (FILES $<TARGET_PDB_FILE:z_mapcachebuilder> DESTINATION "${RTS_INSTALL_PREFIX_ZEROHOUR} " OPTIONAL )
6565 endif ()
66-
66+
6767 if (TARGET z_w3dview)
6868 install (TARGETS z_w3dview RUNTIME DESTINATION "${RTS_INSTALL_PREFIX_ZEROHOUR} " )
6969 install (FILES $<TARGET_PDB_FILE:z_w3dview> DESTINATION "${RTS_INSTALL_PREFIX_ZEROHOUR} " OPTIONAL )
@@ -73,4 +73,8 @@ if(RTS_INSTALL_PREFIX_ZEROHOUR AND NOT "${RTS_INSTALL_PREFIX_ZEROHOUR}" STREQUAL
7373 install (TARGETS z_wdump RUNTIME DESTINATION "${RTS_INSTALL_PREFIX_ZEROHOUR} " )
7474 install (FILES $<TARGET_PDB_FILE:z_wdump> DESTINATION "${RTS_INSTALL_PREFIX_ZEROHOUR} " OPTIONAL )
7575 endif ()
76+ else ()
77+ message (STATUS "Zero Hour install path not found. Registry keys for 'Command and Conquer Generals Zero Hour' not found. "
78+ "Zero Hour targets will be built, but not installed. "
79+ "You can specify the path manually by setting RTS_INSTALL_PREFIX_ZEROHOUR." )
7680endif ()
You can’t perform that action at this time.
0 commit comments