Skip to content

Commit

Permalink
replace FindTcl cmake with find_package
Browse files Browse the repository at this point in the history
  • Loading branch information
jjcherry56 committed Jan 7, 2020
1 parent 2763f88 commit 7ccbf7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 79 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ add_custom_command(OUTPUT ${STA_TCL_INIT}
#
################################################################

include(FindTcl)
find_package(TCL)

# Zlib
include(FindZLIB)
Expand Down Expand Up @@ -615,7 +615,7 @@ add_library(OpenSTA

target_include_directories(OpenSTA
PUBLIC ${STA_INCLUDE_DIRS}
SYSTEM ${TCL_HEADER_DIR}
SYSTEM ${TCL_INCLUDE_PATH}
)

target_compile_features(OpenSTA
Expand All @@ -638,7 +638,7 @@ add_executable(sta app/Main.cc ${STA_WRAP})

target_link_libraries(sta
OpenSTA
${TCL_LIB}
tcl
${CUDD_LIB}
)

Expand Down
76 changes: 0 additions & 76 deletions cmake/FindTcl.cmake

This file was deleted.

0 comments on commit 7ccbf7b

Please sign in to comment.