Skip to content

Commit

Permalink
fmk - updating install of OpenSees to include init.tcl
Browse files Browse the repository at this point in the history
  • Loading branch information
fmckenna committed Sep 24, 2024
1 parent 1dd6881 commit cd09d91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ else()
find_package(TCL REQUIRED)
find_package(Eigen3 REQUIRED)
include_directories(${TCL_INCLUDE_DIR})
set(TCL_INCLUDE_PATH ${TCL_INCLUDE_DIR})
set(TCL_LIBRARY ${TCL_LIBRARIES})

endif()
Expand Down Expand Up @@ -741,6 +742,8 @@ target_link_libraries(OpenSeesPy
#

install (TARGETS OpenSees DESTINATION bin)
set (TCL_INIT_FILE "${TCL_INCLUDE_PATH}/../lib/tcl8.6/init.tcl")
install(FILES ${TCL_INIT_FILE} DESTINATION lib/tcl8.6)

# Set selected executable to be built by default
set_target_properties(${OPS_FINAL_TARGET} PROPERTIES EXCLUDE_FROM_ALL OFF)
Expand Down

0 comments on commit cd09d91

Please sign in to comment.