Skip to content

Commit f390848

Browse files
committed
address issue #136 by changing the order of libraries linked for DICe_utils
1 parent c9705b8 commit f390848

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ include_directories (
139139
${DICE_TRILINOS_HEADERS}
140140
)
141141
add_library(dicecore ${DICE_SOURCES} ${DICE_HEADERS})
142-
target_link_libraries(dicecore ${DICE_LIBRARIES} ${OpenCV_LIBRARIES} diceutils)
142+
target_link_libraries(dicecore ${DICE_LIBRARIES} diceutils ${OpenCV_LIBRARIES})
143143

144144
target_compile_definitions(dicecore PRIVATE -D DICE_LIB_EXPORTS_MODE)
145145
add_dependencies(dicecore DICe_utils)

src/utils/src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ include_directories(
3434
${NetCDF_DIR}
3535
)
3636

37-
SET(DICE_UTILS_LIBRARIES teuchoscore)
37+
SET(DICE_UTILS_LIBRARIES teuchoscore teuchosparameterlist)
3838
if(DICE_ENABLE_NETCDF)
3939
SET(DICE_UTILS_LIBRARIES ${DICE_UTILS_LIBRARIES} netcdf)
4040
ENDIF()

0 commit comments

Comments
 (0)