mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 13:16:23 +00:00
* fix(CORE): Find std::filesystem across platforms Closes #6889 * Squeeze blank lines to make check-codestyle happy * Move find_package(Filesystem ...) to deps/stdfs * CMAKE_CXX_STANDARD gets already set in ConfigureBaseTargets.cmake
19 lines
782 B
CMake
19 lines
782 B
CMake
# Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
|
|
# Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
|
|
#
|
|
# This file is free software; as a special exception the author gives
|
|
# unlimited permission to copy and/or distribute it, with or without
|
|
# modifications, as long as this notice is preserved.
|
|
#
|
|
# This program is distributed in the hope that it will be useful, but
|
|
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
find_package(Filesystem REQUIRED)
|
|
|
|
add_library(stdfs INTERFACE)
|
|
|
|
target_link_libraries(stdfs
|
|
INTERFACE
|
|
std::filesystem)
|