Skip to content

Commit

Permalink
CMakeLists: use flags for Apple correctly (#6784)
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Jul 29, 2023
1 parent c53f3d9 commit a9d49d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/CMakeLists.txt
Expand Up @@ -5,7 +5,7 @@ SET(CMAKE_DEBUG_POSTFIX "")
# Enable C++17
SET(CMAKE_CXX_STANDARD 17)

IF(LMMS_BUILD_APPLE)
IF(LMMS_BUILD_APPLE AND CMAKE_CXX_COMPILER_ID MATCHES "Clang")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
ENDIF()

Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Expand Up @@ -12,7 +12,7 @@ SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
# Enable C++17
SET(CMAKE_CXX_STANDARD 17)

IF(LMMS_BUILD_APPLE)
IF(LMMS_BUILD_APPLE AND CMAKE_CXX_COMPILER_ID MATCHES "Clang")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
ENDIF()

Expand Down

0 comments on commit a9d49d4

Please sign in to comment.