From 2412dbbc0b7af05e544540dd13650dabf0ba57fc Mon Sep 17 00:00:00 2001 From: James Cherry Date: Tue, 7 Apr 2020 03:37:20 +0000 Subject: [PATCH] cmake target_includes --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 50bcd908..397a3cc7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -436,12 +436,12 @@ add_library(OpenSTA target_include_directories(OpenSTA PUBLIC include + ${CUDD_INCLUDE} + ${TCL_INCLUDE_PATH} PRIVATE include/sta ${STA_HOME} - ${CUDD_INCLUDE} - ${TCL_INCLUDE_PATH} ) target_compile_features(OpenSTA @@ -460,7 +460,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${STA_HOME}/app) # Note executable and lib name cannot be the same because # on osx something is case insensitive. Using STA for the # lib name results in "No rule to make target ../depend. -add_executable(sta app/Main) +add_executable(sta app/Main.cc) target_compile_options(sta PRIVATE