blob: eeaf206c99f4031de25d0fdd5b36aada7cf859f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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()
|