Files
ports/cad/qcad/files/patch-CMakeInclude.txt
2026-10-04 04:07:15 +00:00

12 lines
244 B
Plaintext

--- CMakeInclude.txt.orig 2026-05-06 14:27:07 UTC
+++ CMakeInclude.txt
@@ -35,7 +35,7 @@ endif()
set(RWIN32 TRUE)
endif()
-if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
+if(UNIX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
endif()