Skip to content

Commit

Permalink
fix build of non tchem partmc
Browse files Browse the repository at this point in the history
  • Loading branch information
jcurtis2 committed Jul 29, 2024
1 parent b23d880 commit 7eb58f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ if(ENABLE_TCHEM)
find_library(TINES_LIB tines
PATHS $ENV{TINES_PATH}/lib64 $ENV{TINES_PATH}/lib)
include_directories(${TINES_INCLUDE_DIR})
set(CPP_LIB -lstdc++)
# find_path(LAPACK_INCLUDE_DIR lapack.h
# DOC "LAPACK include directory"
# PATHS $ENV{LAPACK_PATH}/include)
Expand Down Expand Up @@ -236,7 +237,7 @@ add_library(partmclib src/aero_state.F90 src/integer_varray.F90

target_link_libraries(partmclib ${NETCDF_LIBS} ${SUNDIALS_LIBS}
${MOSAIC_LIB} ${GSL_LIBS} ${CAMP_LIB} ${TCHEM_LIB} ${YAML_LIB}
${KOKKOS_LIB} ${KOKKOSKERNEL_LIB} ${TINES_LIB} -lstdc++) #${LAPACK_LIB})
${KOKKOS_LIB} ${KOKKOSKERNEL_LIB} ${TINES_LIB} ${CPP_LIB}) #${LAPACK_LIB})

set_target_properties(partmclib PROPERTIES OUTPUT_NAME partmc)

Expand Down

0 comments on commit 7eb58f6

Please sign in to comment.