- # install tcl
- if (INSTALL_TCL)
- # include occt macros. compiler_bitness, os_wiht_bit, compiler
- OCCT_INCLUDE_CMAKE_FILE ("adm/cmake/occt_macros")
-
- OCCT_MAKE_OS_WITH_BITNESS()
- OCCT_MAKE_COMPILER_SHORT_NAME()
-
- if (WIN32)
- # tcl 8.6 requires zlib. install all dlls from tcl bin folder that may contain zlib also
-
- # collect and install all dlls from tcl dll dirs
- file (GLOB TCL_DLLS "${3RDPARTY_TCL_DLL_DIR}/*.dll")
-
- if (SINGLE_GENERATOR)
- install (FILES ${TCL_DLLS} DESTINATION "${INSTALL_DIR_BIN}")
- else()
- install (FILES ${TCL_DLLS}
- CONFIGURATIONS Release
- DESTINATION "${INSTALL_DIR_BIN}")
- install (FILES ${TCL_DLLS}
- CONFIGURATIONS RelWithDebInfo
- DESTINATION "${INSTALL_DIR_BIN}i")
- install (FILES ${TCL_DLLS}
- CONFIGURATIONS Debug
- DESTINATION "${INSTALL_DIR_BIN}d")
- endif()
+ # collect and install all dlls from tcl dll dirs
+ file (GLOB TCL_DLLS "${3RDPARTY_TCL_DLL_DIR}/*.dll")
+
+ if (SINGLE_GENERATOR)
+ install (FILES ${TCL_DLLS} DESTINATION "${INSTALL_DIR_BIN}")