Skip to content

Commit

Permalink
Update CMakeLists.txt file
Browse files Browse the repository at this point in the history
  • Loading branch information
nonameentername committed Apr 28, 2024
1 parent d782ac8 commit 24fe223
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -942,9 +942,6 @@ set(hrtf_ops_SRCS
Opcodes/hrtferX.c
)

if (NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
list(APPEND stdopcod_SRCS Opcodes/socksend.c Opcodes/sockrecv.c)
endif()

set(cs_pvs_ops_SRCS
Opcodes/ifd.c
Expand Down Expand Up @@ -1010,16 +1007,23 @@ list(APPEND libcsound_SRCS)

list(APPEND libcsound_static_SRCS ${stdopcod_SRCS} ${cs_pvs_ops_SRCS} ${physmod_SRCS}
${pitch_ops_SRCS} ${oldpvoc_SRCS} ${scanops_SRCS} ${mp3in_SRCS} ${cppops_SRCS}
${hrtf_ops_SRCS} ${sock_ops_SRCS} ${externs_SRCS} ${gens_SRCS} ${pitch_ops_SRCS}
${hrtf_ops_SRCS} ${externs_SRCS} ${gens_SRCS} ${pitch_ops_SRCS}
${newgabops_SRCS} ${oldpvoc_SRCS} ${vbap_ops}
)

if (NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
list(APPEND libcsound_static_SRCS ${sock_ops_SRCS})
endif()

if(NOT BUILD_PLUGINS)
list(APPEND libcsound_SRCS ${cppops_SRCS} ${scanops_SRCS} ${physmod_SRCS}
${mp3in_SRCS} ${hrtf_ops_SRCS} ${sock_ops_SRCS} ${externs_SRCS}
${mp3in_SRCS} ${hrtf_ops_SRCS} ${externs_SRCS}
${gens_SRCS} ${cs_pvs_ops_SRCS} ${newgabops_SRCS} ${oldpvoc_SRCS}
${pitch_ops_SRCS} ${vbap_ops} ${stdopcod_SRCS}
)
if (NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
list(APPEND libcsound_SRCS ${sock_ops_SRCS})
endif()
endif()

if(UNIX)
Expand Down

0 comments on commit 24fe223

Please sign in to comment.