diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2019-03-07 03:40:34 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2019-03-07 03:40:34 +0000 |
commit | 05dfa0a728c68f512f1f749ae379dfab66803f7b (patch) | |
tree | fda02469523695bdadb120dc2b99ed2dc51928df /audio/csound/files/patch-CMakeLists.txt | |
parent | Generalize CPU detection error message to powerpc*. (diff) |
audio/csound: fix build on powerpc*
PR: 236315
Submitted by: Piotr Kubaj <pkubaj@anongoth.pl>
Notes
Notes:
svn path=/head/; revision=494873
Diffstat (limited to 'audio/csound/files/patch-CMakeLists.txt')
-rw-r--r-- | audio/csound/files/patch-CMakeLists.txt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/audio/csound/files/patch-CMakeLists.txt b/audio/csound/files/patch-CMakeLists.txt index 17afbd946d21..d5bade0b4f47 100644 --- a/audio/csound/files/patch-CMakeLists.txt +++ b/audio/csound/files/patch-CMakeLists.txt @@ -20,13 +20,7 @@ set(JAVA_MODULE_INSTALL_DIR ${LIBRARY_INSTALL_DIR} CACHE PATH "Java module install dir") set(LUA_MODULE_INSTALL_DIR ${LIBRARY_INSTALL_DIR} CACHE PATH "Lua module install dir") -@@ -373,12 +373,12 @@ endif() - - endif(WIN32) - --if(APPLE) -+if(APPLE OR CMAKE_SYSTEM_NAME MATCHES "${OPSYS}") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++") +@@ -378,7 +378,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc+ set_target_properties(${CSOUNDLIB} PROPERTIES CXX_COMPILE_FLAGS "-std=c++11") endif() |