Skip to content

Commit 43c9e4f

Browse files
committed
Add comment
1 parent 4ebd78a commit 43c9e4f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/torchcodec/_core/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ function(make_torchcodec_sublibrary
4646
# Avoid adding the "lib" prefix which we already add explicitly.
4747
set_target_properties(${library_name} PROPERTIES PREFIX "")
4848

49-
# On Windows, avoid the Release/Debug subdirectories in output
50-
if(WIN32)
49+
if(WIN32) # TODO unify WIN detection
50+
# 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.
5153
set_target_properties(${library_name} PROPERTIES
5254
RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_CURRENT_BINARY_DIR}
5355
RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_CURRENT_BINARY_DIR}

0 commit comments

Comments
 (0)