We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e2a201c + f80cb84 commit 7c8087bCopy full SHA for 7c8087b
CMakeLists.txt
@@ -12,6 +12,11 @@ target_include_directories(diff-pdf PRIVATE
12
"${POPPLERGLIB_INCLUDE_DIRS}"
13
)
14
15
-target_link_libraries(diff-pdf ${POPPLERGLIB_LIBRARIES} stdc++fs)
+target_link_libraries(diff-pdf ${POPPLERGLIB_LIBRARIES})
16
+
17
+if(CMAKE_SYSTEM_NAME MATCHES "Linux")
18
+ target_link_libraries(diff-pdf stdc++fs)
19
+endif()
20
21
target_link_directories(diff-pdf PRIVATE ${POPPLERGLIB_LIBRARY_DIRS})
22
install(TARGETS diff-pdf RUNTIME DESTINATION bin)
0 commit comments