pforth: check in forgotten CMakeLists patch
This commit is contained in:
parent
710e865ec8
commit
dda6634097
22
packages/pforth/CMakeLists.txt.patch
Normal file
22
packages/pforth/CMakeLists.txt.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
--- ../CMakeLists.txt.orig 2022-02-04 15:41:06.250332497 +0000
|
||||||
|
+++ ./CMakeLists.txt 2022-02-04 16:24:58.062366747 +0000
|
||||||
|
@@ -38,9 +38,9 @@
|
||||||
|
endif(WIN32)
|
||||||
|
|
||||||
|
add_subdirectory(csrc)
|
||||||
|
-if(NOT WIN32 AND NOT APPLE)
|
||||||
|
+if(NOT WIN32 AND NOT APPLE AND NOT ANDROID)
|
||||||
|
link_libraries(rt pthread)
|
||||||
|
-endif(NOT WIN32 AND NOT APPLE)
|
||||||
|
+endif(NOT WIN32 AND NOT APPLE AND NOT ANDROID)
|
||||||
|
|
||||||
|
option(UNISTD "Enable libunistd" false)
|
||||||
|
if(UNISTD)
|
||||||
|
@@ -61,7 +61,6 @@
|
||||||
|
add_custom_command(OUTPUT ${PFORTH_DIC}
|
||||||
|
COMMAND ./pforth -i system.fth
|
||||||
|
WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
|
||||||
|
- DEPENDS pforth
|
||||||
|
COMMENT Building pforth.dic
|
||||||
|
VERBATIM
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user