Skip to content

Commit

Permalink
Merges with dev and fixes minors in CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto-o committed Dec 16, 2024
1 parent 5d2a515 commit c2bb267
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ if(SEMBA_FDTD_ENABLE_SMBJSON)
set(SMBJSON_LIBRARIES smbjson)
endif()
if (SEMBA_FDTD_ENABLE_MTLN)
set(NGSPICE_LIB ngspice)
add_definitions(-DCompileWithMTLN)
add_subdirectory(src_mtln)
set(MTLN_LIBRARIES mtlnsolver ngspice_interface)
Expand Down
2 changes: 1 addition & 1 deletion external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ endif()

if (SEMBA_FDTD_ENABLE_MTLN)
add_subdirectory("ngspice/")
set(NGSPICE_LIB ngspice)
# set(NGSPICE_LIB ngspice)
endif()
1 change: 0 additions & 1 deletion src_mtln/interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ enable_language(C CXX)
add_library(ngspice_interface
"ngspice_interface.c"
)

target_link_libraries(ngspice_interface PRIVATE ${NGSPICE_LIB})
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
target_link_libraries(ngspice_interface PRIVATE stdc++)
Expand Down

0 comments on commit c2bb267

Please sign in to comment.