lint-staged: 15.2.10 -> 15.2.11 (#364089)
[NixPkgs.git] / pkgs / tools / graphics / pfstools / threads.patch
blobe3f61db608999369a247a30c4f5ab063563cba0b
1 --- a/src/fileformat/CMakeLists.txt 2016-05-26 11:31:23.000000000 +0200
2 +++ b/src/fileformat/CMakeLists.txt 2016-07-21 23:19:56.510958771 +0200
3 @@ -53,13 +53,15 @@
4 if( OPENEXR_FOUND )
5 include_directories("${OPENEXR_INCLUDE_DIR}")
7 + find_package (Threads)
9 add_executable(pfsinexr pfsinexr.cpp "${GETOPT_OBJECT}")
10 - target_link_libraries(pfsinexr pfs ${OPENEXR_LIBRARIES})
11 + target_link_libraries(pfsinexr pfs ${OPENEXR_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
12 install (TARGETS pfsinexr DESTINATION bin)
13 install (FILES pfsinexr.1 DESTINATION ${MAN_DIR})
15 add_executable(pfsoutexr pfsoutexr.cpp "${GETOPT_OBJECT}")
16 - target_link_libraries(pfsoutexr pfs ${OPENEXR_LIBRARIES})
17 + target_link_libraries(pfsoutexr pfs ${OPENEXR_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
18 install (TARGETS pfsoutexr DESTINATION bin)
19 install (FILES pfsoutexr.1 DESTINATION ${MAN_DIR})
20 endif( OPENEXR_FOUND )