mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
CMake: Use forward-slashes in paths separators to avoid confusing MSVC in pragma comments
This commit is contained in:
parent
853dac4f3f
commit
0072c567aa
1 changed files with 3 additions and 1 deletions
|
|
@ -83,8 +83,10 @@ endfunction()
|
|||
|
||||
macro(_juce_make_absolute path)
|
||||
if(NOT IS_ABSOLUTE "${${path}}")
|
||||
get_filename_component("${path}" "${${path}}" ABSOLUTE BASE_DIR "${CMAKE_CURRENT_LIST_DIR}")
|
||||
get_filename_component(${path} "${${path}}" ABSOLUTE BASE_DIR "${CMAKE_CURRENT_LIST_DIR}")
|
||||
endif()
|
||||
|
||||
string(REGEX REPLACE "\\\\" "/" ${path} "${${path}}")
|
||||
endmacro()
|
||||
|
||||
macro(_juce_make_absolute_and_check path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue