Skip to content

Commit

Permalink
systemc_build() search SYSTEMC_HOME then ENV{SYSTEMC_HOME} and finall…
Browse files Browse the repository at this point in the history
…y try to install as per #126
  • Loading branch information
Risto97 committed Mar 3, 2025
1 parent 801609b commit 6fc1b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/build_scripts/systemc/systemc_build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function(systemc_build)
endif()

find_package(SystemCLanguage ${ARG_VERSION} CONFIG
HINTS ${ARG_INSTALL_DIR}
HINTS ${SYSTEMC_HOME} $ENV{SYSTEMC_HOME} ${ARG_INSTALL_DIR}
)

if(ARG_EXACT_VERSION)
Expand Down

0 comments on commit 6fc1b1c

Please sign in to comment.