Revision: 76803
http://sourceforge.net/p/brlcad/code/76803
Author: starseeker
Date: 2020-08-16 17:51:23 +0000 (Sun, 16 Aug 2020)
Log Message:
-----------
Don't apply flags to tclsh.rc
Modified Paths:
--------------
brlcad/trunk/src/other/tcl/CMakeLists.txt
Modified: brlcad/trunk/src/other/tcl/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/other/tcl/CMakeLists.txt 2020-08-16 17:47:48 UTC (rev
76802)
+++ brlcad/trunk/src/other/tcl/CMakeLists.txt 2020-08-16 17:51:23 UTC (rev
76803)
@@ -1324,7 +1324,7 @@
if (WIN32)
- set(TCLSH_SRCS win/tclAppInit.c win/tclsh.rc)
+ set(TCLSH_SRCS win/tclAppInit.c)
else (WIN32)
set(TCLSH_SRCS unix/tclAppInit.c)
endif (WIN32)
@@ -1331,6 +1331,10 @@
TCL_WIN_FLAGS(TCLSH_SRCS)
+if (MSVC)
+ set(TCLSH_SRCS ${TCLSH_SRCS} win/tclsh.rc)
+endif (MSVC)
+
set_property(SOURCE win/tclAppInit.c APPEND PROPERTY COMPILE_DEFINITIONS
TCL_UNICODE)
add_executable(tclsh ${TCLSH_SRCS})
target_link_libraries(tclsh tcl ${M_LIBRARY} ${ZLIB_LIBRARIES}
${TCL_THREADS_LIB} ${EXTRA_TCLSH_LIBS})
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