Skip to content

Commit

Permalink
adding comment
Browse files Browse the repository at this point in the history
  • Loading branch information
K20shores committed Mar 25, 2024
1 parent e0360ca commit 3da1145
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ if(MUSICA_CREATE_ENVIRONMENT_MODULE)
endif()
endif()

# shared libraries are required for python, but for some reason setting
# BUILD_SHARED_LIBS to ON doesn't work on windows
if (MUSICA_ENABLE_PYTHON_LIBRARY AND NOT WIN32)
message(STATUS "Python requires shared libraries to be built")
message(STATUS "Python requires shared libraries to be built. Enabling shared libraries.")
set(BUILD_SHARED_LIBS ON)
endif()

Expand Down

0 comments on commit 3da1145

Please sign in to comment.