diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-21 17:33:41 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-07-06 17:34:18 +0200 |
commit | 6c6c3ba697e8feef38fa85cb9d0c088b3a8d0df5 (patch) | |
tree | e1ba19ba9a5406ad06a60c8fbd23c2c1008754fa /proto-osc/CMakeLists.txt | |
parent | e0507257a41c29fa2e9ac28f36470023a72c39c6 (diff) |
proto/osc: add incomplete code
Finishing it is just a bit more work.
See: #1264
Diffstat (limited to 'proto-osc/CMakeLists.txt')
-rw-r--r-- | proto-osc/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/proto-osc/CMakeLists.txt b/proto-osc/CMakeLists.txt new file mode 100644 index 00000000..eeaf206c --- /dev/null +++ b/proto-osc/CMakeLists.txt @@ -0,0 +1,15 @@ +set(SDK_OSCPACK "" CACHE PATH "oscpack build directory") +if(SDK_OSCPACK) + if(WIN32) + if(NOT EXISTS "${SDK_OSCPACK}/include/.") + message(FATAL_ERROR "SDK_OSCPACK should have 'include' subdirectory (or symlink) to src dir") + endif() + link_directories("${SDK_OSCPACK}") + include_directories("${SDK_OSCPACK}/include" "${SDK_OSCPACK}/include/oscpack") + else() + link_directories("${SDK_OSCPACK}/lib" "${SDK_OSCPACK}/lib32") + include_directories("${SDK_OSCPACK}/include/oscpack") + endif() + link_libraries(oscpack) + otr_module(proto-osc) +endif() |