We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ebd78a commit 43c9e4fCopy full SHA for 43c9e4f
src/torchcodec/_core/CMakeLists.txt
@@ -46,8 +46,10 @@ function(make_torchcodec_sublibrary
46
# Avoid adding the "lib" prefix which we already add explicitly.
47
set_target_properties(${library_name} PROPERTIES PREFIX "")
48
49
- # On Windows, avoid the Release/Debug subdirectories in output
50
- if(WIN32)
+ if(WIN32) # TODO unify WIN detection
+ # On Windows, the built artifacts are put in Release/Debug
51
+ # subdirectories by default. We want to avoid that, otherwise our
52
+ # install() step would not know where to find those.
53
set_target_properties(${library_name} PROPERTIES
54
RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_CURRENT_BINARY_DIR}
55
RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_CURRENT_BINARY_DIR}
0 commit comments