Skip to content

Commit 2bad18a

Browse files
committed
Update the post build event in the property sheet.
1 parent a302190 commit 2bad18a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ofxOpenVR.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ robocopy "$(OF_ROOT)/addons/ofxOpenVR/libs/OpenVR/bin/win32/" "$(ProjectDir)bin/
3535
<AdditionalDependencies>openvr_api.lib;%(AdditionalDependencies)</AdditionalDependencies>
3636
</Link>
3737
<PostBuildEvent>
38-
<Command>robocopy "$(OF_ROOT)/export/vs/$(Platform_Actual)/" "$(ProjectDir)bin/" "*.dll" /njs /njh /np /fp /bytes
38+
<Command>for /d %%f in ($(OF_ROOT)\libs\*) do (if exist %%f\lib\vs\$(Platform_Actual)\*.dll ( robocopy "%%f\lib\vs\$(Platform_Actual)" "$(ProjectDir)bin" "*.dll" /njs /njh /np /fp /bytes ))
3939
if errorlevel 1 echo Copy successful else exit %errorlevel%
4040
robocopy "$(OF_ROOT)/addons/ofxOpenVR/libs/OpenVR/bin/win64/" "$(ProjectDir)bin/" "*.dll" /njs /njh /np /fp /bytes
4141
if errorlevel 1 exit 0 else exit %errorlevel%</Command>

0 commit comments

Comments
 (0)