diff options
Diffstat (limited to 'proto-vjoy/CMakeLists.txt')
-rw-r--r-- | proto-vjoy/CMakeLists.txt | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/proto-vjoy/CMakeLists.txt b/proto-vjoy/CMakeLists.txt deleted file mode 100644 index 50b23e47..00000000 --- a/proto-vjoy/CMakeLists.txt +++ /dev/null @@ -1,23 +0,0 @@ -if(WIN32) - set(SDK_VJOY "" CACHE PATH "VJoy SDK path") - if(SDK_VJOY) - if(opentrack-64bit) - set(arch 64) - else() - set(arch 32) - endif() - set(lib ${SDK_VJOY}/VJoy${arch}.dll) - if (MSVC) - set(implib "${SDK_VJOY}/VJoy${arch}.lib") - else() - set(implib "${lib}") - endif() - if(CMAKE_COMPILER_IS_GNUCXX) - set(link "-Wl,--enable-stdcall-fixup") - endif() - opentrack_boilerplate(opentrack-proto-vjoy LINK "${link}") - target_link_libraries(opentrack-proto-vjoy "${implib}") - target_include_directories(opentrack-proto-vjoy SYSTEM PUBLIC ${SDK_VJOY}) - install(FILES "${lib}" DESTINATION ${opentrack-hier-pfx} RENAME "VJoy.dll") - endif() -endif() |