File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -195,8 +195,7 @@ set_target_properties(unity_tests PROPERTIES SUFFIX ".exe")
195195# Make install does the right thing in all cases but it's overkill in release.
196196add_custom_command (
197197 OUTPUT ${PACKAGE_PATH}
198- ${PACKAGE_TARGET}
199- COMMAND "${CMAKE_COMMAND} " --build . --target install
198+ COMMAND "${CMAKE_COMMAND} " --build . --target install --config Release
200199 COMMAND "${UNITY_EDITOR_PATH} " -batchmode -projectPath ${CMAKE_BINARY_DIR} /tests/UnityTests -exportPackage Assets/FbxSdk ${PACKAGE_PATH} -quit
201200 COMMENT "Creating Unity Package ${PACKAGE_PATH} "
202201 DEPENDS UnityFbxSdkNative
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ mkdir FbxSharpBuild
5858cd FbxSharpBuild
5959cmake ../FbxSharp -G"Visual Studio 14 2015 Win64"
6060cmake --build . --target INSTALL --config Release
61- cmake --build . --target unitypackage
61+ cmake --build . --target unitypackage --config Release
6262
6363# run the sample Unity code
6464"C:/Program Files/Unity/Editor/Unity.exe" -projectpath %cd%/tests/UnityTests
You can’t perform that action at this time.
0 commit comments