From c550285074057feafe68987798767347c1929781 Mon Sep 17 00:00:00 2001 From: Jakob Leben Date: Fri, 10 Feb 2012 21:02:30 +0100 Subject: [PATCH] cmake: supernova win32 compile fixes --- testsuite/supernova/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/testsuite/supernova/CMakeLists.txt b/testsuite/supernova/CMakeLists.txt index 0355a9b3e..a5fc6f21e 100644 --- a/testsuite/supernova/CMakeLists.txt +++ b/testsuite/supernova/CMakeLists.txt @@ -34,7 +34,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux") endif() - +find_package(Sndfile REQUIRED) include_directories(${CMAKE_SOURCE_DIR}/include/common ${CMAKE_SOURCE_DIR}/include/plugin_interface @@ -48,6 +48,7 @@ include_directories(${CMAKE_SOURCE_DIR}/include/common ${CMAKE_SOURCE_DIR}/external_libraries/ ${CMAKE_SOURCE_DIR}/external_libraries/nova-tt ${CMAKE_SOURCE_DIR}/external_libraries/TLSF-2.4.6/src + ${SNDFILE_INCLUDE_DIR} ) @@ -60,7 +61,7 @@ foreach(test ${simple_tests}) target_link_libraries(${test_name} boost_thread boost_system boost_test) target_link_libraries(${test_name} oscpack tlsf) target_link_libraries(${test_name} ${PTHREADS_LIBRARY}) - target_link_libraries(${test_name} ${SNDFILE}) + target_link_libraries(${test_name} ${SNDFILE_LIBRARIES}) target_link_libraries(${test_name} libsupernova) if(APPLE) -- 2.11.4.GIT