Merge pull request #10 from ittiam-systems/cmake_win
Updates in CMakeLists for windows build
This commit is contained in:
commit
8d342b243a
1 changed files with 6 additions and 1 deletions
|
|
@ -158,7 +158,12 @@ list(APPEND XAACDEC_SRCS
|
|||
|
||||
add_executable(xaacdec ${XAACDEC_SRCS})
|
||||
|
||||
target_link_libraries(xaacdec libxaacdec m)
|
||||
if(MSVC)
|
||||
target_link_libraries(xaacdec libxaacdec)
|
||||
else()
|
||||
target_link_libraries(xaacdec libxaacdec m)
|
||||
endif()
|
||||
|
||||
set_target_properties(
|
||||
xaacdec
|
||||
PROPERTIES
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue