summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2011-09-27 14:14:12 +0100
committerJosé Fonseca <jose.r.fonseca@gmail.com>2011-09-27 14:14:12 +0100
commitcf0447aaa12c0fbcc310f4a18c41d1648a1ac313 (patch)
tree54ba0083ed491e9431e6cb08e99704a97c3aac24
parent5971d6a409e88044672911d960b355a425db7479 (diff)
Fix d3d10 build.
-rwxr-xr-xCMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e31f753..5ce139c 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -291,10 +291,14 @@ if (WIN32)
add_custom_command (
OUTPUT d3d10trace.cpp
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/d3d10trace.py > ${CMAKE_CURRENT_BINARY_DIR}/d3d10trace.cpp
- DEPENDS d3d10trace.py trace.py d3d10misc.py specs/d3d10.py specs/dxgi.py specs/winapi.py specs/stdapi.py
+ DEPENDS d3d10trace.py trace.py specs/d3d10misc.py specs/d3d10.py specs/dxgi.py specs/winapi.py specs/stdapi.py
)
add_library (d3d10 MODULE specs/d3d10.def d3d10trace.cpp)
- set_target_properties (d3d10 PROPERTIES PREFIX "")
+ set_target_properties (d3d10
+ PROPERTIES PREFIX ""
+ RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/wrappers
+ LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/wrappers
+ )
install (TARGETS d3d10 LIBRARY DESTINATION wrappers)
endif (DirectX_D3D10_INCLUDE_DIR)