You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
442 B
14 lines
442 B
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
function(FixMsysPath target)
|
|
get_target_property(include_dir ${target} INTERFACE_INCLUDE_DIRECTORIES)
|
|
|
|
if (include_dir MATCHES "^C:")
|
|
return()
|
|
endif()
|
|
|
|
set(include_dir "C:/msys64${include_dir}")
|
|
set_target_properties(${target} PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES ${include_dir})
|
|
endfunction()
|