init
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
This commit is contained in:
28
cmake/win_directx_helper/CMakeLists.txt
Normal file
28
cmake/win_directx_helper/CMakeLists.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
# This file is part of Desktop App Toolkit,
|
||||
# a set of libraries for developing nice desktop applications.
|
||||
#
|
||||
# For license and copyright information please follow this link:
|
||||
# https://github.com/desktop-app/legal/blob/master/LEGAL
|
||||
|
||||
add_library(win_directx_helper STATIC)
|
||||
init_target(win_directx_helper "(external)")
|
||||
add_library(desktop-app::win_directx_helper ALIAS win_directx_helper)
|
||||
|
||||
nice_target_sources(win_directx_helper ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
PRIVATE
|
||||
win_directx_helper.cpp
|
||||
)
|
||||
|
||||
validate_d3d_compiler(win_directx_helper)
|
||||
|
||||
target_link_libraries(win_directx_helper
|
||||
PUBLIC
|
||||
desktop-app::external_openssl
|
||||
)
|
||||
|
||||
if (NOT DESKTOP_APP_SPECIAL_TARGET STREQUAL "")
|
||||
target_compile_definitions(win_directx_helper
|
||||
PRIVATE
|
||||
WIN_DIRECTX_HELPER_SPECIAL_TARGET=${DESKTOP_APP_SPECIAL_TARGET}
|
||||
)
|
||||
endif()
|
||||
Reference in New Issue
Block a user