Skip to content

Commit

Permalink
don't try to do a C# install if it's not selected
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed Aug 24, 2023
1 parent d0dbd46 commit 5bc0985
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 @@ -1216,7 +1216,9 @@ if(NOT UNIX)
if(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS)
install(FILES ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION "bin")
install(FILES ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION "Ruby" COMPONENT "RubyAPI")
install(FILES ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION "CSharp/openstudio/" COMPONENT "CSharpAPI")
if (BUILD_CSHARP_BINDINGS)
install(FILES ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION "CSharp/openstudio/" COMPONENT "CSharpAPI")
endif()
endif()
endif()

Expand Down

0 comments on commit 5bc0985

Please sign in to comment.