From ab61abf06cb37457b6a458fcf54c5d14c1626787 Mon Sep 17 00:00:00 2001 From: Soeren Jung Date: Tue, 19 Sep 2017 19:33:06 +0200 Subject: [PATCH] systemc settings fixed for indexer and cmake --- .cproject | 16 ++++++++++++---- .settings/language.settings.xml | 4 ++-- .settings/org.eclipse.cdt.core.prefs | 3 --- cmake/FindSystemC.cmake | 4 ++-- 4 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.cproject b/.cproject index 78164e6..e739b24 100644 --- a/.cproject +++ b/.cproject @@ -5,7 +5,8 @@ - + + @@ -17,7 +18,7 @@ - + @@ -36,6 +37,7 @@ @@ -58,6 +60,7 @@ @@ -74,7 +77,8 @@ - + + @@ -86,7 +90,7 @@ - + @@ -101,6 +105,7 @@ @@ -111,6 +116,7 @@ @@ -119,6 +125,7 @@ @@ -185,4 +192,5 @@ + diff --git a/.settings/language.settings.xml b/.settings/language.settings.xml index 16eb769..c4bed54 100644 --- a/.settings/language.settings.xml +++ b/.settings/language.settings.xml @@ -5,7 +5,7 @@ - + @@ -16,7 +16,7 @@ - + diff --git a/.settings/org.eclipse.cdt.core.prefs b/.settings/org.eclipse.cdt.core.prefs index 68901c8..82d0b6a 100644 --- a/.settings/org.eclipse.cdt.core.prefs +++ b/.settings/org.eclipse.cdt.core.prefs @@ -1,6 +1,3 @@ eclipse.preferences.version=1 -environment/project/cdt.managedbuild.config.gnu.macosx.exe.debug.133691581/SYSTEMC_HOME/delimiter=\: -environment/project/cdt.managedbuild.config.gnu.macosx.exe.debug.133691581/SYSTEMC_HOME/operation=replace -environment/project/cdt.managedbuild.config.gnu.macosx.exe.debug.133691581/SYSTEMC_HOME/value=/usr/local environment/project/cdt.managedbuild.config.gnu.macosx.exe.debug.133691581/append=true environment/project/cdt.managedbuild.config.gnu.macosx.exe.debug.133691581/appendContributed=true diff --git a/cmake/FindSystemC.cmake b/cmake/FindSystemC.cmake index 5f55a7c..81e1343 100644 --- a/cmake/FindSystemC.cmake +++ b/cmake/FindSystemC.cmake @@ -61,7 +61,7 @@ FIND_PATH(SystemC_INCLUDE_DIRS PATHS ${_SYSTEMC_PATHS} ) -FIND_PATH(SystemC_LIBRARY_DIR +FIND_PATH(SystemC_LIBRARY_DIRS NAMES libsystemc.a HINTS ${_SYSTEMC_HINTS} PATHS ${_SYSTEMC_PATHS} @@ -82,7 +82,7 @@ FIND_PATH(SCV_LIBRARY_DIRS if(SystemC_FOUND) set(SystemC_LIBRARIES systemc) message(STATUS "SystemC header files are taken from ${SystemC_INCLUDE_DIRS}") - message(STATUS "SystemC library is taken from ${SystemC_LIBRARY_DIR}") + message(STATUS "SystemC library is taken from ${SystemC_LIBRARY_DIRS}") if(SCV_FOUND) set(SCV_LIBRARIES scv) message(STATUS "SCV header files are taken from ${SCV_INCLUDE_DIRS}")