diff options
author | Richard Knight <q@1bpm.net> | 2022-12-30 20:43:17 +0000 |
---|---|---|
committer | Richard Knight <q@1bpm.net> | 2022-12-30 20:43:17 +0000 |
commit | 510d32100f523a901d960013c50d481bf63d21df (patch) | |
tree | c6a5a782b8b2c320e487776a02a7e70b221ad914 /Plugin.cmake | |
parent | 4f73db87c653ccffcb3cddddaf003b9d09546122 (diff) | |
download | csound-datacore-510d32100f523a901d960013c50d481bf63d21df.tar.gz csound-datacore-510d32100f523a901d960013c50d481bf63d21df.tar.bz2 csound-datacore-510d32100f523a901d960013c50d481bf63d21df.zip |
fix permissions on reading and mempsname
Diffstat (limited to 'Plugin.cmake')
-rw-r--r-- | Plugin.cmake | 10 |
1 files changed, 6 insertions, 4 deletions
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}) |