Forgot a lib. Flacdecoder now builds under VC :D

This commit is contained in:
urioxis 2011-02-18 14:51:09 +00:00
parent 66f534b4aa
commit 97311f2a11
5 changed files with 9 additions and 7 deletions

View File

@ -21,13 +21,15 @@ set (Boost_ADDITIONAL_VERSIONS "1.37.0" )
if(WIN32 AND NOT UNIX)
find_package(Boost 1.42.0 REQUIRED ${BOOST_LIBS} )
if (Boost_FOUND)
add_definitions (-DHAVE_BOOST)
set (BOOST_LINK_LIBS
${Boost_LIBRARIES})
add_definitions (
-DHAVE_BOOST
)
#set (BOOST_LINK_LIBS
# ${Boost_LIBRARIES})
include_directories (${Boost_INCLUDE_DIRS})
link_directories(${Boost_INCLUDE_DIRS})
message(STATUS "Boost includes: " ${Boost_INCLUDE_DIRS})
message(STATUS "Boost libs: " ${Boost_LIBRARIES})
link_directories(${Boost_LIBRARY_DIRS})
#message(STATUS "Boost includes: " ${Boost_INCLUDE_DIRS})
#message(STATUS "Boost libs: " ${Boost_LIBRARIES})
else (Boost_FOUND)
set (BOOST_LINK_LIBS
boost_system

View File

@ -33,6 +33,6 @@ else (flac_found)
endif (${MSVC90})
endif (flac_found)
add_library( flacdecoder SHARED ${flacdecoder_SOURCES} )
target_link_libraries( flacdecoder ${musikCube_LINK_LIBS} FLAC++)
target_link_libraries( flacdecoder ${musikCube_LINK_LIBS} FLAC FLAC++)

Binary file not shown.

Binary file not shown.

Binary file not shown.