openbsd-ports/cad/kicad/patches/patch-common_CMakeLists_txt
tracey 9eba8ff39a Enable python scripting support for Kicad.
Input sthen@ kn@

OK kn@ kmos@ paco@
2020-04-02 14:48:26 +00:00

15 lines
619 B
Plaintext

$OpenBSD: patch-common_CMakeLists_txt,v 1.2 2020/04/02 14:48:27 tracey Exp $
# get rid of -lrt linker
Index: common/CMakeLists.txt
--- common/CMakeLists.txt.orig
+++ common/CMakeLists.txt
@@ -597,7 +597,7 @@ add_dependencies( common page_layout_lexer_source_file
# This one gets made only when testing.
# to build it, first enable #define STAND_ALONE at top of dsnlexer.cpp
add_executable( dsntest EXCLUDE_FROM_ALL dsnlexer.cpp )
-target_link_libraries( dsntest common ${wxWidgets_LIBRARIES} rt )
+target_link_libraries( dsntest common ${wxWidgets_LIBRARIES} )
target_link_libraries( pcbcommon PUBLIC bitmaps )