Skip to content

Commit 5685a06

Browse files
committed
fix macOS build
1 parent 8a9e618 commit 5685a06

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ if (MSVC)
2323
else ()
2424
if (NOT APPLE)
2525
set(CMAKE_INSTALL_PREFIX "/usr")
26+
link_libraries(stdc++fs)
2627
endif ()
2728

2829
if (NOT PVS_STUDIO_SHARED AND NOT APPLE)
@@ -32,8 +33,6 @@ else ()
3233
endif ()
3334

3435
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -Wold-style-cast")
35-
36-
link_libraries(stdc++fs)
3736
endif ()
3837

3938
if (NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")

0 commit comments

Comments
 (0)