diff options
Diffstat (limited to 'cmake/src/lib/projectM/cwrapper/CMakeLists.txt')
-rw-r--r-- | cmake/src/lib/projectM/cwrapper/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cmake/src/lib/projectM/cwrapper/CMakeLists.txt b/cmake/src/lib/projectM/cwrapper/CMakeLists.txt new file mode 100644 index 00000000..90880cd8 --- /dev/null +++ b/cmake/src/lib/projectM/cwrapper/CMakeLists.txt @@ -0,0 +1,11 @@ +if(libprojectM_USE_CWRAPPER) + include_directories(${libprojectM_INCLUDEDIR}/libprojectM) + add_definitions(-DPROJECTM_VERSION_INT=${libprojectM_VERSION_INT}) + + set(projectm_cwrapper_srcs projectM-cwrapper.cpp) + if(WIN32) + add_library(projectM-cwrapper SHARED ${projectm_cwrapper_srcs}) + else(WIN32) + add_library(projectM-cwrapper STATIC ${projectm_cwrapper_srcs}) + endif(WIN32) +endif(libprojectM_USE_CWRAPPER) |