File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -6,16 +6,12 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
6
6
include (FindPkgConfig )
7
7
8
8
pkg_search_module (POPPLERGLIB REQUIRED poppler-glib )
9
- pkg_search_module (STDCFS REQUIRED stdc++fs )
10
-
11
9
add_executable (diff-pdf diff-pdf.cpp )
10
+
12
11
target_include_directories (diff-pdf PRIVATE
13
12
"${POPPLERGLIB_INCLUDE_DIRS} "
14
- "${STDCFS_INCLUDE_DIRS} "
15
13
)
16
14
17
- target_link_libraries (diff-pdf ${POPPLERGLIB_LIBRARIES} ${STDCFS_LIBRARIES} )
18
- target_link_directories (diff-pdf PRIVATE
19
- ${POPPLERGLIB_LIBRARY_DIRS} ${STDCFS_LIBRARY_DIRS}
20
- )
15
+ target_link_libraries (diff-pdf ${POPPLERGLIB_LIBRARIES} )
16
+ target_link_directories (diff-pdf PRIVATE ${POPPLERGLIB_LIBRARY_DIRS} stdc++fs )
21
17
install (TARGETS diff-pdf RUNTIME DESTINATION bin )
You can’t perform that action at this time.
0 commit comments