From 510d32100f523a901d960013c50d481bf63d21df Mon Sep 17 00:00:00 2001 From: Richard Knight Date: Fri, 30 Dec 2022 20:43:17 +0000 Subject: fix permissions on reading and mempsname --- Plugin.cmake | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Plugin.cmake') diff --git a/Plugin.cmake b/Plugin.cmake index d314502..577ea55 100644 --- a/Plugin.cmake +++ b/Plugin.cmake @@ -1,14 +1,16 @@ -if(NOT LINUX) - message(FATAL_ERROR "Only Linux is supported") +set(PLUGIN_NAME datacore) +set(CPPFILES src/opcodes.cpp src/maketable.cpp) + +if(LINUX) + set(CPPFILES ${CPPFILES} src/pmparser.cpp) + add_definitions("-DUSE_PROCMAPS") endif() set(INCLUDES ${CSOUND_INCLUDE_DIRS} "include") -set(PLUGIN_NAME memread) # Dependencies # None # Source files -set(CPPFILES src/opcodes.cpp src/pmparser.cpp src/maketable.cpp) make_plugin(${PLUGIN_NAME} "${CPPFILES}") target_include_directories(${PLUGIN_NAME} PRIVATE ${INCLUDES}) -- cgit v1.2.3