Skip to content

Commit

Permalink
Fix licadet_object CMake target
Browse files Browse the repository at this point in the history
Removes an original binding model source file from the libcadet_object
target. Only preprocessed (via templateCodeGen) binding model sources
can be used.
  • Loading branch information
sleweke committed Feb 17, 2023
1 parent 8fd1f23 commit fa07625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcadet/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ if (LAPACK_FOUND)


# Add the build target for CADET object library
add_library(libcadet_object OBJECT ${LIBCADET_SOURCES} "model/binding/LangmuirLDFCBinding.cpp")
add_library(libcadet_object OBJECT ${LIBCADET_SOURCES})
target_compile_definitions(libcadet_object PRIVATE libcadet_EXPORTS ${LIB_LAPACK_DEFINE})
target_link_libraries(libcadet_object PUBLIC CADET::CompileOptions CADET::LibOptions PRIVATE CADET::AD libcadet_nonlinalg_static SUNDIALS::sundials_idas ${SUNDIALS_NVEC_TARGET} ${TBB_TARGET})

Expand Down

0 comments on commit fa07625

Please sign in to comment.