Revision: 77046
          http://sourceforge.net/p/brlcad/code/77046
Author:   starseeker
Date:     2020-09-03 22:08:52 +0000 (Thu, 03 Sep 2020)
Log Message:
-----------
Shouldn't hardcode 'bin' string

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

Modified: brlcad/trunk/src/archer/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/archer/CMakeLists.txt      2020-09-03 22:06:51 UTC (rev 
77045)
+++ brlcad/trunk/src/archer/CMakeLists.txt      2020-09-03 22:08:52 UTC (rev 
77046)
@@ -26,10 +26,10 @@
   endforeach(item ${tclindex_target_list})
 
   # Archer is one of the programs that gets a start menu entry
-  set_property(INSTALL "bin/$<TARGET_FILE_NAME:archer>"
+  set_property(INSTALL "${BIN_DIR}/$<TARGET_FILE_NAME:archer>"
     PROPERTY CPACK_START_MENU_SHORTCUTS "Archer ${BRLCAD_VERSION}"
     )
-  set_property(INSTALL "bin/$<TARGET_FILE_NAME:archer>"
+  set_property(INSTALL "${BIN_DIR}/$<TARGET_FILE_NAME:archer>"
     PROPERTY CPACK_DESKTOP_SHORTCUTS "Archer ${BRLCAD_VERSION}"
     )
 endif(BRLCAD_ENABLE_TK)

Modified: brlcad/trunk/src/mged/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/mged/CMakeLists.txt        2020-09-03 22:06:51 UTC (rev 
77045)
+++ brlcad/trunk/src/mged/CMakeLists.txt        2020-09-03 22:08:52 UTC (rev 
77046)
@@ -83,10 +83,10 @@
   endforeach(item ${tclindex_target_list})
 
   # MGED is one of the programs that gets a start menu entry
-  set_property(INSTALL "bin/$<TARGET_FILE_NAME:mged>"
+  set_property(INSTALL "${BIN_DIR}/$<TARGET_FILE_NAME:mged>"
     PROPERTY CPACK_START_MENU_SHORTCUTS "MGED ${BRLCAD_VERSION}"
     )
-  set_property(INSTALL "bin/$<TARGET_FILE_NAME:mged>"
+  set_property(INSTALL "${BIN_DIR}/$<TARGET_FILE_NAME:mged>"
     PROPERTY CPACK_DESKTOP_SHORTCUTS "MGED ${BRLCAD_VERSION}"
     )
 

Modified: brlcad/trunk/src/rtwizard/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/rtwizard/CMakeLists.txt    2020-09-03 22:06:51 UTC (rev 
77045)
+++ brlcad/trunk/src/rtwizard/CMakeLists.txt    2020-09-03 22:08:52 UTC (rev 
77046)
@@ -19,10 +19,10 @@
   endforeach(item ${tclindex_target_list})
 
   # RtWizard is one of the programs that gets a start menu entry
-  set_property(INSTALL "bin/$<TARGET_FILE_NAME:rtwizard>"
+  set_property(INSTALL "${BIN_DIR}/$<TARGET_FILE_NAME:rtwizard>"
     PROPERTY CPACK_START_MENU_SHORTCUTS "RtWizard ${BRLCAD_VERSION}"
     )
-  set_property(INSTALL "bin/$<TARGET_FILE_NAME:rtwizard>"
+  set_property(INSTALL "${BIN_DIR}/$<TARGET_FILE_NAME:rtwizard>"
     PROPERTY CPACK_DESKTOP_SHORTCUTS "RtWizard ${BRLCAD_VERSION}"
     )
 

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