mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Using imported target from CMake's PkgConfig for libmesh.
This commit is contained in:
parent
6973ce28d0
commit
4e1a4e45de
1 changed files with 1 additions and 2 deletions
|
|
@ -379,7 +379,6 @@ target_include_directories(libopenmc
|
|||
$<INSTALL_INTERFACE:include>
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
${HDF5_INCLUDE_DIRS}
|
||||
${LIBMESH_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
# Set compile flags
|
||||
|
|
@ -421,7 +420,7 @@ if(dagmc)
|
|||
endif()
|
||||
|
||||
if(libmesh)
|
||||
target_link_libraries(libopenmc ${LIBMESH_LIBRARIES})
|
||||
target_link_libraries(libopenmc PkgConfig::LIBMESH)
|
||||
endif()
|
||||
|
||||
#===============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue