Skip to content

Commit

Permalink
fix jpeg build
Browse files Browse the repository at this point in the history
  • Loading branch information
ppwwyyxx committed Feb 14, 2017
1 parent ceb39fe commit 3e912b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if (NOT OPENMP_FOUND)
message(WARNING "OpenMP is not found. Will be slow.")
endif()

#find_package(JPEG)
find_package(JPEG)
if(NOT JPEG_FOUND)
set(JPEG_INCLUDE_DIR "$ENV{JPEG_INCLUDE_DIR}")
set(JPEG_LIBRARY "$ENV{JPEG_LIBRARY}")
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ else()
endif()

add_executable(image-stitching ${SOURCES})
target_link_libraries(image-stitching ${JPEG_LIBRARIES})
target_link_libraries(image-stitching ${JPEG_LIBRARY})

# Visual Studio handling of file glob
# This part is not maintained.. I don't know what it is
Expand Down

0 comments on commit 3e912b8

Please sign in to comment.