This commit is contained in:
James Cherry 2020-04-11 21:31:48 -07:00
parent 51210854bf
commit 1623486428
1 changed files with 8 additions and 3 deletions

View File

@ -24,7 +24,9 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.14)
cmake_policy(SET CMP0086 NEW) cmake_policy(SET CMP0086 NEW)
endif() endif()
project(STA VERSION 2.1.0) project(STA VERSION 2.1.0
LANGUAGES CXX
)
option(CUDD_DIR "CUDD BDD package directory") option(CUDD_DIR "CUDD BDD package directory")
@ -474,9 +476,12 @@ target_link_libraries(sta
OpenSTA OpenSTA
sta_swig sta_swig
${TCL_LIBRARY} ${TCL_LIBRARY}
${ZLIB_LIBRARIES}
) )
if (ZLIB_LIBRARIES)
target_link_libraries(sta ${ZLIB_LIBRARIES})
endif()
if (CUDD_LIB) if (CUDD_LIB)
target_link_libraries(sta ${CUDD_LIB}) target_link_libraries(sta ${CUDD_LIB})
endif() endif()