Revision: 78049
          http://sourceforge.net/p/brlcad/code/78049
Author:   starseeker
Date:     2021-01-07 01:47:56 +0000 (Thu, 07 Jan 2021)
Log Message:
-----------
Fix Archer shortcuts

Modified Paths:
--------------
    brlcad/trunk/src/archer/CMakeLists.txt

Modified: brlcad/trunk/src/archer/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/archer/CMakeLists.txt      2021-01-06 23:34:53 UTC (rev 
78048)
+++ brlcad/trunk/src/archer/CMakeLists.txt      2021-01-07 01:47:56 UTC (rev 
78049)
@@ -33,17 +33,14 @@
     add_dependencies(archer ${item})
   endforeach(item ${tclindex_target_list})
 
-  # The bat file is used to set the working directory for shortcuts in MSIS
-  # installers generated with WiX.
-  BRLCAD_MANAGE_FILES("archer.bat" ${BIN_DIR} EXEC)
-
   # Archer is one of the programs that gets a start menu entry
-  set_property(INSTALL "${BIN_DIR}/archer.bat"
+  set_property(INSTALL "${BIN_DIR}/$<TARGET_FILE_NAME:archer>"
     PROPERTY CPACK_START_MENU_SHORTCUTS "Archer ${BRLCAD_VERSION}"
     )
-  set_property(INSTALL "${BIN_DIR}/archer.bat"
+  set_property(INSTALL "${BIN_DIR}/$<TARGET_FILE_NAME:archer>"
     PROPERTY CPACK_DESKTOP_SHORTCUTS "Archer ${BRLCAD_VERSION}"
     )
+
 endif(BRLCAD_ENABLE_TK)
 
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to